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
commit2f46599fb556915697ba77d9b1af82fd3e45fea8 (patch)
tree4eff56285eddd8a9497244f6d200cfc1dc3ae610
parent1ae60111374c8a0c1b466b9d77e8a76ea8d932cc (diff)
minor fix
-rw-r--r--php-pecl-inotify-php7.spec2
-rw-r--r--php-pecl-inotify.spec2
2 files changed, 2 insertions, 2 deletions
diff --git a/php-pecl-inotify-php7.spec b/php-pecl-inotify-php7.spec
index 22a5407..5502833 100644
--- a/php-pecl-inotify-php7.spec
+++ b/php-pecl-inotify-php7.spec
@@ -36,7 +36,7 @@ Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release}
Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_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-pecl-%{pecl_name} <= %{version}
Obsoletes: php53u-pecl-%{pecl_name} <= %{version}
diff --git a/php-pecl-inotify.spec b/php-pecl-inotify.spec
index e8b6ff6..0dec357 100644
--- a/php-pecl-inotify.spec
+++ b/php-pecl-inotify.spec
@@ -40,7 +40,7 @@ Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release}
Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_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-pecl-%{pecl_name}
Obsoletes: php53u-pecl-%{pecl_name}