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
commit5eb11926856944cf4238bbb67b4b03810a24a013 (patch)
tree44ef2cfc5cefafe2247f25d26a99b6accd244b75
parent5dd069190f0fc9b9ad6ccf4c0df6c9463ded306e (diff)
minor fix
-rw-r--r--php-smbclient-dev.spec2
-rw-r--r--php-smbclient.spec2
2 files changed, 2 insertions, 2 deletions
diff --git a/php-smbclient-dev.spec b/php-smbclient-dev.spec
index 8e9e803..d684f67 100644
--- a/php-smbclient-dev.spec
+++ b/php-smbclient-dev.spec
@@ -78,7 +78,7 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{rele
Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version}
Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
-%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1}
+%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
# Other third party repo stuff
%if "%{php_version}" > "5.5"
Obsoletes: php55u-%{pecl_name} <= %{version}
diff --git a/php-smbclient.spec b/php-smbclient.spec
index dcd1c0a..fdc58b4 100644
--- a/php-smbclient.spec
+++ b/php-smbclient.spec
@@ -77,7 +77,7 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{rele
Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version}
Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
-%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1}
+%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
# Other third party repo stuff
%if "%{php_version}" > "5.5"
Obsoletes: php55u-%{pecl_name} <= %{version}