summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-03-26 15:37:09 +0100
committerRemi Collet <fedora@famillecollet.com>2014-03-26 15:37:09 +0100
commit7a54ff73091d2ed34b00190f7b9e8aba0aa0311c (patch)
tree58aaf7f6af83f4402e236cbfcf27de3b817bc1a1
parent17541411ccdf5ba610cc0723174f8eb6ede5c1b7 (diff)
php-pecl-ircclient: cleanup
-rw-r--r--php-pecl-ircclient.spec7
1 files changed, 4 insertions, 3 deletions
diff --git a/php-pecl-ircclient.spec b/php-pecl-ircclient.spec
index 9153647..b075372 100644
--- a/php-pecl-ircclient.spec
+++ b/php-pecl-ircclient.spec
@@ -42,16 +42,17 @@ 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}
Obsoletes: php53u-pecl-%{pecl_name}
Obsoletes: php54-pecl-%{pecl_name}
-%endif
%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