summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-02-07 11:10:03 +0100
committerRemi Collet <remi@remirepo.net>2018-02-07 11:10:03 +0100
commit437fd6634ee109b590c5ccc1fdf242d97d9d1cfa (patch)
treea07504658929da146d60d9adc7e7aa0895be5d87
parent92c08c78bc223c465b66e9d2ce046cecc22e0c76 (diff)
minor
-rw-r--r--php-pecl-redis4.spec10
1 files changed, 7 insertions, 3 deletions
diff --git a/php-pecl-redis4.spec b/php-pecl-redis4.spec
index 76bc980..fe948e2 100644
--- a/php-pecl-redis4.spec
+++ b/php-pecl-redis4.spec
@@ -6,6 +6,10 @@
#
# Please, preserve the changelog entries
#
+
+# we don't want -z defs linker flag
+%undefine _strict_symbol_defs_build
+
%if 0%{?scl:1}
%global sub_prefix %{scl_prefix}
%scl_package php-pecl-redis
@@ -62,11 +66,11 @@ Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
%if 0%{?fedora} >= 29
Obsoletes: %{?scl_prefix}php-pecl-%{pecl_name} < 4
+Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release}
+Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release}
%else
# A single version can be installed
Conflicts: %{?scl_prefix}php-pecl-%{pecl_name} < 4
-Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release}
-Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release}
%endif
%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
@@ -112,7 +116,7 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO
# rename source folder
mv %{pecl_name}-%{upstream_version}%{?upstream_prever} NTS
-# Don't install/register tests
+# Don't install/register tests, license, and bundled library
sed -e 's/role="test"/role="src"/' \
%{?_licensedir:-e '/COPYING/s/role="doc"/role="src"/' } \
-e '/liblzf/d' \