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
commitf444aea5e1072cb9ce5b961c2fe3420c8c0afa56 (patch)
tree8898759842cf0a27c124c8e99a8960df1e4a4f67
parenteb7a14b30eaffcc47ef09f725221e264c45d0d17 (diff)
minor fix
-rw-r--r--php-pecl-pq-php7.spec2
-rw-r--r--php-pecl-pq.spec2
2 files changed, 2 insertions, 2 deletions
diff --git a/php-pecl-pq-php7.spec b/php-pecl-pq-php7.spec
index 1190005..9672aed 100644
--- a/php-pecl-pq-php7.spec
+++ b/php-pecl-pq-php7.spec
@@ -76,7 +76,7 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{rele
Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release}
%endif
-%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1}
+%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
# Other third party repo stuff
Obsoletes: php54-pecl-%{pecl_name} <= %{version}
Obsoletes: php54w-pecl-%{pecl_name} <= %{version}
diff --git a/php-pecl-pq.spec b/php-pecl-pq.spec
index 780fe67..2e6053f 100644
--- a/php-pecl-pq.spec
+++ b/php-pecl-pq.spec
@@ -72,7 +72,7 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{rele
Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release}
%endif
-%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}