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
commit323210bb6574ea29fe413b8fb018c2b867c8b2fe (patch)
tree4d74ef2383ebd289dfbc7bc236658387b7b9b877
parent3f199906dae8b6745461466c2bc9d8ec36902f85 (diff)
minor fix
-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}