summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-03-25 16:44:26 +0100
committerRemi Collet <fedora@famillecollet.com>2014-03-25 16:44:26 +0100
commita633745743c9d11dd3f09250e11e5d6da81096b7 (patch)
tree2ba12261d7215a808599e574acb1402ba76fe19f
parent030e2effb372750cdb46f4ac4d19b07599b5a95b (diff)
php-pecl-ssdeep: allow SCL build
-rw-r--r--php-pecl-ssdeep.spec6
1 files changed, 5 insertions, 1 deletions
diff --git a/php-pecl-ssdeep.spec b/php-pecl-ssdeep.spec
index 24ba730..d26adc7 100644
--- a/php-pecl-ssdeep.spec
+++ b/php-pecl-ssdeep.spec
@@ -39,7 +39,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}
@@ -49,7 +49,11 @@ 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
# Filter shared private