diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-10-27 07:06:52 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-10-27 07:06:52 +0200 |
commit | 1e349f7676bc19757a64e27f4e53aa1cdb4f3701 (patch) | |
tree | a41ff23252ed2338655998b44231f5596765c946 /php-pecl-pdflib.spec | |
parent | b06c3f0b6bfd66a0c4a2d7bf94bd5182c836ab38 (diff) |
php-pecl-pdflib: switch the spec
Diffstat (limited to 'php-pecl-pdflib.spec')
-rw-r--r-- | php-pecl-pdflib.spec | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/php-pecl-pdflib.spec b/php-pecl-pdflib.spec index 9ce4f88..1afe510 100644 --- a/php-pecl-pdflib.spec +++ b/php-pecl-pdflib.spec @@ -19,8 +19,8 @@ Summary: Package for generating PDF files Name: %{?scl_prefix}php-pecl-pdflib -Version: 3.0.4 -Release: 4%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Version: 4.0.0 +Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} # https://bugs.php.net/60396 ask license file License: PHP Group: Development/Languages @@ -66,6 +66,14 @@ Obsoletes: php55w-pecl-%{pecl_name} Obsoletes: php56u-pecl-%{pecl_name} Obsoletes: php56w-pecl-%{pecl_name} %endif +%if "%{php_version}" > "7.0" +Obsoletes: php70u-pecl-%{pecl_name} +Obsoletes: php70w-pecl-%{pecl_name} +%endif +%if "%{php_version}" > "7.1" +Obsoletes: php71u-pecl-%{pecl_name} +Obsoletes: php71w-pecl-%{pecl_name} +%endif %endif @@ -190,6 +198,9 @@ rm -rf %{buildroot} %changelog +* Thu Sep 22 2016 Remi Collet <remi@fedoraproject.org> - 4.0.0-1 +- update to 4.0.0 (beta) for PHP 7 + * Tue Mar 8 2016 Remi Collet <remi@fedoraproject.org> - 3.0.4-4 - adapt for F24 |