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
commit40c9dcecf6b1d3373face9bcf0aabf7515f784ec (patch)
tree133d679199deb1df41bb5db512186ec77d5ad661
parent58ed27a184be78972641db7842efd72da5667e66 (diff)
minor fix
-rw-r--r--php-pecl-pthreads-dev.spec2
-rw-r--r--php-pecl-pthreads-php7.spec2
-rw-r--r--php-pecl-pthreads.spec2
3 files changed, 3 insertions, 3 deletions
diff --git a/php-pecl-pthreads-dev.spec b/php-pecl-pthreads-dev.spec
index 49db466..f7c7381 100644
--- a/php-pecl-pthreads-dev.spec
+++ b/php-pecl-pthreads-dev.spec
@@ -48,7 +48,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}
diff --git a/php-pecl-pthreads-php7.spec b/php-pecl-pthreads-php7.spec
index fd18b9e..32105de 100644
--- a/php-pecl-pthreads-php7.spec
+++ b/php-pecl-pthreads-php7.spec
@@ -35,7 +35,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-pthreads.spec b/php-pecl-pthreads.spec
index d2ab730..0194eb5 100644
--- a/php-pecl-pthreads.spec
+++ b/php-pecl-pthreads.spec
@@ -42,7 +42,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}