summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-07-18 07:32:22 +0200
committerRemi Collet <remi@remirepo.net>2018-07-18 07:32:22 +0200
commitbc9c6de8d652892dc041ba823647f3ab5c5e2f33 (patch)
tree54159f75bc7ec49cfbb6def231e2afccdb407ec6
parent90c469dfdc9f86008672086d2692b3642fe65eaa (diff)
rebuild for 7.3.0alpha4 new ABI
-rw-r--r--php-pecl-pdflib.spec15
1 files changed, 11 insertions, 4 deletions
diff --git a/php-pecl-pdflib.spec b/php-pecl-pdflib.spec
index ed941a6..094b540 100644
--- a/php-pecl-pdflib.spec
+++ b/php-pecl-pdflib.spec
@@ -1,6 +1,6 @@
# remirepo spec file for php-pecl-pdflib
#
-# Copyright (c) 2006-2017 Remi Collet
+# Copyright (c) 2006-2018 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -20,14 +20,14 @@
Summary: Package for generating PDF files
Name: %{?scl_prefix}php-pecl-pdflib
Version: 4.1.2
-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
URL: http://pecl.php.net/package/pdflib
Source0: http://pecl.php.net/get/pdflib-%{version}.tgz
+BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel >= 5.4
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: pdflib-lite-devel
@@ -77,6 +77,10 @@ Obsoletes: php71w-pecl-%{pecl_name}
Obsoletes: php72u-pecl-%{pecl_name}
Obsoletes: php72w-pecl-%{pecl_name}
%endif
+%if "%{php_version}" > "7.3"
+Obsoletes: php73u-pecl-%{pecl_name}
+Obsoletes: php73w-pecl-%{pecl_name}
+%endif
%endif
@@ -164,7 +168,7 @@ done
%endif
-%if 0%{?fedora} < 24
+%if 0%{?fedora} < 24 && 0%{?rhel} < 8
# when pear installed alone, after us
%triggerin -- %{?scl_prefix}php-pear
if [ -x %{__pecl} ] ; then
@@ -198,6 +202,9 @@ fi
%changelog
+* Wed Jul 18 2018 Remi Collet <remi@remirepo.net> - 4.1.2-2
+- rebuild for 7.3.0alpha4 new ABI
+
* Tue Aug 1 2017 Remi Collet <remi@remirepo.net> - 4.1.2-1
- Update to 4.1.2