summaryrefslogtreecommitdiffstats
path: root/php-pecl-pdflib.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-pdflib.spec')
-rw-r--r--php-pecl-pdflib.spec15
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