summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore7
-rw-r--r--php-pecl-pdflib.spec9
2 files changed, 15 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..1ab5c4f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,7 @@
+package-*.xml
+*.tgz
+*.tar.gz
+*.tar.xz
+*.tar.xz.asc
+*.src.rpm
+*/*rpm
diff --git a/php-pecl-pdflib.spec b/php-pecl-pdflib.spec
index a2bb35c..e2656d2 100644
--- a/php-pecl-pdflib.spec
+++ b/php-pecl-pdflib.spec
@@ -20,7 +20,7 @@
Summary: Package for generating PDF files
Name: %{?scl_prefix}php-pecl-pdflib
Version: 4.1.1
-Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
# https://bugs.php.net/60396 ask license file
License: PHP
Group: Development/Languages
@@ -74,6 +74,10 @@ Obsoletes: php70w-pecl-%{pecl_name}
Obsoletes: php71u-pecl-%{pecl_name}
Obsoletes: php71w-pecl-%{pecl_name}
%endif
+%if "%{php_version}" > "7.2"
+Obsoletes: php72u-pecl-%{pecl_name}
+Obsoletes: php72w-pecl-%{pecl_name}
+%endif
%endif
@@ -201,6 +205,9 @@ rm -rf %{buildroot}
%changelog
+* Tue Jul 18 2017 Remi Collet <remi@remirepo.net> - 4.1.1-2
+- rebuild for PHP 7.2.0beta1 new API
+
* Wed Dec 28 2016 Remi Collet <remi@fedoraproject.org> - 4.1.1-1
- Update to 4.1.1