summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-03-22 19:24:52 +0100
committerRemi Collet <fedora@famillecollet.com>2014-03-22 19:24:52 +0100
commit1d42b8bd8165a995955baa987f4f35884fc765b0 (patch)
treeee69850a649ea9b90101b2d22776222a8509b745
parent8fb781c99c9aeabb5736e83c5c91b0ecb04d859b (diff)
php-pecl-judy: minor cleanup
-rw-r--r--php-pecl-judy-dev.spec7
1 files changed, 5 insertions, 2 deletions
diff --git a/php-pecl-judy-dev.spec b/php-pecl-judy-dev.spec
index d04bf1e..9b66dd2 100644
--- a/php-pecl-judy-dev.spec
+++ b/php-pecl-judy-dev.spec
@@ -14,7 +14,7 @@
%global with_zts 0%{?__ztsphp:1}
%global pecl_name Judy
-%global ext_name judy
+%global ext_name judy
Summary: PHP Judy implements sparse dynamic arrays
Name: %{?scl_prefix}php-pecl-judy
@@ -52,7 +52,7 @@ Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
Obsoletes: %{?scl_prefix}php-pecl-Judy < 1.0.1
Provides: %{?scl_prefix}php-pecl-Judy = %{version}-%{release}
-%if 0%{!?scl:1}
+%if "%{?vendor}" == "Remi Collet"
# Other third party repo stuff
%if "%{php_version}" > "5.4"
Obsoletes: php53-pecl-%{pecl_name}
@@ -62,6 +62,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