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 | b31ad73c1be2bd584b160a6538ef5d943d2b6567 (patch) | |
tree | 748a71a01c790294d1dd351ebbb336f72da67303 | |
parent | 51168e951da56a9f8e8fb695980977075b28a95d (diff) |
php-pecl-* improve SCL build for 5.6 (wip)
-rw-r--r-- | php-phurple.spec | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/php-phurple.spec b/php-phurple.spec index 1f9d6ae..8c31e29 100644 --- a/php-phurple.spec +++ b/php-phurple.spec @@ -27,7 +27,7 @@ Name: %{?scl_prefix}php-%{gh_project} Summary: PHP bindings for libpurple Version: 0.6.0 -Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release: 3%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} URL: https://github.com/%{gh_owner}/%{gh_project} Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}.tar.gz @@ -43,6 +43,20 @@ BuildRequires: %{?scl_prefix}php-devel Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} Requires: %{?scl_prefix}php(api) = %{php_core_api} +%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} +# Other third party repo stuff +Obsoletes: php54-%{gh_project} +Obsoletes: php54w-%{gh_project} +%if "%{php_version}" > "5.5" +Obsoletes: php55u-%{gh_project} +Obsoletes: php55w-%{gh_project} +%endif +%if "%{php_version}" > "5.6" +Obsoletes: php56u-%{gh_project} +Obsoletes: php56w-%{gh_project} +%endif +%endif + %if 0%{?fedora} < 20 && 0%{?rhel} < 7 # Filter private shared %{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$} @@ -151,6 +165,9 @@ rm -rf %{buildroot} %changelog +* Tue Aug 26 2014 Remi Collet <rcollet@redhat.com> - 0.6.0-3 +- improve SCL build + * Wed Apr 16 2014 Remi Collet <remi@fedoraproject.org> - 0.6.0-2 - add numerical prefix to extension configuration file (php 5.6) |