summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-03-25 08:36:39 +0100
committerRemi Collet <fedora@famillecollet.com>2014-03-25 08:36:39 +0100
commit8e01b29faf43377e82f0fc1bc3ee7e45d0c6b76d (patch)
tree5ff1f161d0bc8d90a5264c1a57c4f19f8cca1e51
parentab70bf9ee1757440da7b3b9f6c4e4f46e788ba98 (diff)
php-pecl-swoole: minot cleanup
-rw-r--r--php-pecl-swoole.spec5
1 files changed, 4 insertions, 1 deletions
diff --git a/php-pecl-swoole.spec b/php-pecl-swoole.spec
index 3ad7a6c..c5215cf 100644
--- a/php-pecl-swoole.spec
+++ b/php-pecl-swoole.spec
@@ -46,7 +46,7 @@ Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version}
Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version}
Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
-%if 0%{!?scl:1}
+%if "%{?vendor}" == "Remi Collet"
# Other third party repo stuff
%if "%{php_version}" > "5.4"
Obsoletes: php53-pecl-%{pecl_name}
@@ -56,6 +56,9 @@ Obsoletes: php54-pecl-%{pecl_name}
%if "%{php_version}" > "5.5"
Obsoletes: php55u-pecl-%{pecl_name}
%endif
+%if "%{php_version}" > "5.6"
+Obsoletes: php56u-pecl-%{pecl_name}
+%endif
%endif
%if 0%{?fedora} < 20 && 0%{?rhel} < 7