summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-03-19 14:31:30 +0100
committerRemi Collet <fedora@famillecollet.com>2014-03-19 14:31:30 +0100
commitf86527db3966491ba0a875f8229b2dcab49c7d50 (patch)
treea4e85ebdc9e6abe4e916d621d9606aafec39d8bf
parent9100f2d49db4c2fc0a0c5eb0b64d6d23ad765c26 (diff)
php-pecl-zmq: allow SCL build
-rw-r--r--php-pecl-amqp.spec4
1 files changed, 1 insertions, 3 deletions
diff --git a/php-pecl-amqp.spec b/php-pecl-amqp.spec
index 60ae1ef..71fc3c7 100644
--- a/php-pecl-amqp.spec
+++ b/php-pecl-amqp.spec
@@ -44,13 +44,11 @@ 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