summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-12-11 14:44:28 +0100
committerRemi Collet <fedora@famillecollet.com>2016-12-11 14:44:28 +0100
commitb1d066bea98dd0f430b3a7993d975023f46064f2 (patch)
tree28d21e691a87d079d4c72be5a1645a0e74368966
parentf9cd06b0bf7e7b4374ac5fff78b7fcf2731206ff (diff)
minor fix
-rw-r--r--php-suhosin-php7.spec2
-rw-r--r--php-suhosin.spec2
2 files changed, 2 insertions, 2 deletions
diff --git a/php-suhosin-php7.spec b/php-suhosin-php7.spec
index 9cff8ee..cc95b57 100644
--- a/php-suhosin-php7.spec
+++ b/php-suhosin-php7.spec
@@ -56,7 +56,7 @@ Provides: %{?scl_prefix}php-suhosin%{?_isa} = %{version}-%{release}
Provides: %{?scl_prefix}php-suhosin7 = %{version}-%{release}
Provides: %{?scl_prefix}php-suhosin7%{?_isa} = %{version}-%{release}
-%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1}
+%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
# Other third party repo stuff
Obsoletes: php53-%{ext_name} <= %{version}
Obsoletes: php53u-%{ext_name} <= %{version}
diff --git a/php-suhosin.spec b/php-suhosin.spec
index f00c75a..fc1f319 100644
--- a/php-suhosin.spec
+++ b/php-suhosin.spec
@@ -58,7 +58,7 @@ Requires: %{?scl_prefix}php(api) = %{php_core_api}
Provides: %{?scl_prefix}php-suhosin = %{version}-%{release}
Provides: %{?scl_prefix}php-suhosin%{?_isa} = %{version}-%{release}
-%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1}
+%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
# Other third party repo stuff
Obsoletes: php53-%{ext_name} <= %{version}
Obsoletes: php53u-%{ext_name} <= %{version}