diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-08-26 10:06:01 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-08-26 10:06:01 +0200 |
commit | 7a9da8ee43ed10f02e9ba6b00fec59ab4ccc4562 (patch) | |
tree | 0abf4bb432651057f2e21a257c960e61ddfa0dac | |
parent | d65ee5e719d5c1ddbe5c41c8160c3b87354be983 (diff) |
php-pecl-* improve SCL build for 5.6 (wip)
-rw-r--r-- | php-pecl-leveldb.spec | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/php-pecl-leveldb.spec b/php-pecl-leveldb.spec index 4f66da6..41638e5 100644 --- a/php-pecl-leveldb.spec +++ b/php-pecl-leveldb.spec @@ -17,7 +17,7 @@ Summary: LevelDB PHP bindings Name: %{?scl_prefix}php-pecl-%{pecl_name} Version: 0.1.4 -Release: 3%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release: 4%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: BSD Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} @@ -47,16 +47,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: php54w-pecl-%{pecl_name} %if "%{php_version}" > "5.5" Obsoletes: php55u-pecl-%{pecl_name} +Obsoletes: php55w-pecl-%{pecl_name} %endif %if "%{php_version}" > "5.6" Obsoletes: php56u-pecl-%{pecl_name} +Obsoletes: php56w-pecl-%{pecl_name} %endif %endif @@ -203,6 +206,9 @@ rm -rf %{buildroot} %changelog +* Tue Aug 26 2014 Remi Collet <rcollet@redhat.com> - 0.1.4-4 +- improve SCL build + * Tue Mar 25 2014 Remi Collet <remi@fedoraproject.org> - 0.1.4-3 - allow SCL build |