diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-08-26 10:54:59 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-08-26 10:54:59 +0200 |
commit | fa10bc34a48d2f4633d9add95a0bedef72e73b5f (patch) | |
tree | aa776384c5c5917301da2f1c55ce03eaa9f2bf59 | |
parent | ac764f701138eda05afa6e92b24b337a237dd12d (diff) |
php-pecl-* improve SCL build for 5.6 (done)
-rw-r--r-- | php-pecl-swoole.spec | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/php-pecl-swoole.spec b/php-pecl-swoole.spec index bd99e55..dba5c54 100644 --- a/php-pecl-swoole.spec +++ b/php-pecl-swoole.spec @@ -24,7 +24,7 @@ Summary: PHP's asynchronous concurrent distributed networking framework Name: %{?scl_prefix}php-pecl-%{pecl_name} Version: 1.7.4 -Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: BSD Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} @@ -53,16 +53,19 @@ 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 "%{?vendor}" == "Remi Collet" +%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} # Other third party repo stuff -Obsoletes: php53-pecl-%{pecl_name} -Obsoletes: php53u-pecl-%{pecl_name} -Obsoletes: php54-pecl-%{pecl_name} +Obsoletes: php53-pecl-%{pecl_name} <= %{version} +Obsoletes: php53u-pecl-%{pecl_name} <= %{version} +Obsoletes: php54-pecl-%{pecl_name} <= %{version} +Obsoletes: php54w-pecl-%{pecl_name} <= %{version} %if "%{php_version}" > "5.5" -Obsoletes: php55u-pecl-%{pecl_name} +Obsoletes: php55u-pecl-%{pecl_name} <= %{version} +Obsoletes: php55w-pecl-%{pecl_name} <= %{version} %endif %if "%{php_version}" > "5.6" -Obsoletes: php56u-pecl-%{pecl_name} +Obsoletes: php56u-pecl-%{pecl_name} <= %{version} +Obsoletes: php56w-pecl-%{pecl_name} <= %{version} %endif %endif @@ -219,6 +222,9 @@ rm -rf %{buildroot} %changelog +* Tue Aug 26 2014 Remi Collet <rcollet@redhat.com> - 1.7.4-2 +- improve SCL build + * Tue Jul 15 2014 Remi Collet <remi@fedoraproject.org> - 1.7.4-1 - Update to 1.7.4 (stable) |