summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pecl-redis5.spec5
1 files changed, 3 insertions, 2 deletions
diff --git a/php-pecl-redis5.spec b/php-pecl-redis5.spec
index 32271e2..ecf955f 100644
--- a/php-pecl-redis5.spec
+++ b/php-pecl-redis5.spec
@@ -70,9 +70,11 @@ Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
%if 0%{?fedora} >= 31 || 0%{?rhel} >= 9 || "%{php_version}" > "7.4"
Obsoletes: %{?scl_prefix}php-pecl-%{pecl_name} < 5
-Obsoletes: %{?scl_prefix}php-pecl-%{pecl_name}4 < 5
Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release}
Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release}
+Obsoletes: %{?scl_prefix}php-pecl-%{pecl_name}4 < 5
+Provides: %{?scl_prefix}php-pecl-%{pecl_name}4 = %{version}-%{release}
+Provides: %{?scl_prefix}php-pecl-%{pecl_name}4%{?_isa} = %{version}-%{release}
%else
# A single version can be installed
Conflicts: %{?scl_prefix}php-pecl-%{pecl_name} < 5
@@ -129,7 +131,6 @@ sed -e 's/role="test"/role="src"/' \
-i package.xml
cd NTS
-
# Use system library
rm -r liblzf