From d6567b1cd2292617e3562b248e04adb57c7ff439 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 26 Mar 2014 15:47:42 +0100 Subject: php-pecl-sdl: cleanups --- php-pecl-sdl.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/php-pecl-sdl.spec b/php-pecl-sdl.spec index 4eef907..ff9ac12 100644 --- a/php-pecl-sdl.spec +++ b/php-pecl-sdl.spec @@ -45,16 +45,17 @@ Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version} Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version} Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version} -%if 0%{!?scl:1} +%if "%{?vendor}" == "Remi Collet" # Other third party repo stuff -%if "%{php_version}" > "5.4" Obsoletes: php53-pecl-%{pecl_name} Obsoletes: php53u-pecl-%{pecl_name} Obsoletes: php54-pecl-%{pecl_name} -%endif %if "%{php_version}" > "5.5" Obsoletes: php55u-pecl-%{pecl_name} %endif +%if "%{php_version}" > "5.6" +Obsoletes: php56u-pecl-%{pecl_name} +%endif %endif %if 0%{?fedora} < 20 && 0%{?rhel} < 7 -- cgit