summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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}