From 1e349f7676bc19757a64e27f4e53aa1cdb4f3701 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 27 Oct 2016 07:06:52 +0200 Subject: php-pecl-pdflib: switch the spec --- php-pecl-pdflib.spec | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'php-pecl-pdflib.spec') 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 - 4.0.0-1 +- update to 4.0.0 (beta) for PHP 7 + * Tue Mar 8 2016 Remi Collet - 3.0.4-4 - adapt for F24 -- cgit