summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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