summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-tarantool-php7.spec2
-rw-r--r--php-tarantool.spec2
2 files changed, 2 insertions, 2 deletions
diff --git a/php-tarantool-php7.spec b/php-tarantool-php7.spec
index 1ff7d33..c402f44 100644
--- a/php-tarantool-php7.spec
+++ b/php-tarantool-php7.spec
@@ -59,7 +59,7 @@ Provides: %{?scl_prefix}php-%{ext_name}%{?_isa} = %{version}-%{release}
Provides: %{?scl_prefix}php-pecl(tarantool.github.io/tarantool-php/pecl/Tarantool) = %{version}
Provides: %{?scl_prefix}php-pecl(tarantool.github.io/tarantool-php/pecl/Tarantool)%{?_isa} = %{version}
-%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-tarantool.spec b/php-tarantool.spec
index b4e8d4b..6ac3b41 100644
--- a/php-tarantool.spec
+++ b/php-tarantool.spec
@@ -63,7 +63,7 @@ Provides: %{?scl_prefix}php-%{ext_name}%{?_isa} = %{version}-%{release}
Provides: %{?scl_prefix}php-pecl(tarantool.github.io/tarantool-php/pecl/Tarantool) = %{version}
Provides: %{?scl_prefix}php-pecl(tarantool.github.io/tarantool-php/pecl/Tarantool)%{?_isa} = %{version}
-%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}