summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-07-18 09:21:59 +0200
committerRemi Collet <remi@remirepo.net>2018-07-18 09:21:59 +0200
commitfe9e67ce9faf3af0d87a55634b7896b5d3d4e964 (patch)
tree82ec5207fcc445d5420f5843bb1360a37701cc48
parent3a9adb2b641e4f15e6e5a7682e93f3e636ae0c65 (diff)
rebuild for 7.3.0alpha4 new ABI
-rw-r--r--php-wkhtmltox.spec13
1 files changed, 10 insertions, 3 deletions
diff --git a/php-wkhtmltox.spec b/php-wkhtmltox.spec
index c6e858c..13237d5 100644
--- a/php-wkhtmltox.spec
+++ b/php-wkhtmltox.spec
@@ -29,15 +29,15 @@ Summary: HTML Converter
Name: %{?sub_prefix}php-%{pecl_name}
Version: 0.3.2
%if 0%{?gh_date:1}
-Release: 0.2.%{gh_date}.%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 0.3.%{gh_date}.%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
%else
-Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
%endif
License: MIT
-Group: Development/Languages
URL: https://github.com/%{gh_owner}/%{gh_project}
Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}-%{gh_short}.tar.gz
+BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel > 7
BuildRequires: wkhtmltopdf-opt >= 0.12.4
@@ -57,6 +57,10 @@ Obsoletes: php71w-%{pecl_name} <= %{version}
Obsoletes: php72u-%{pecl_name} <= %{version}
Obsoletes: php72w-%{pecl_name} <= %{version}
%endif
+%if "%{php_version}" > "7.3"
+Obsoletes: php73u-%{pecl_name} <= %{version}
+Obsoletes: php73w-%{pecl_name} <= %{version}
+%endif
%endif
# Filter shared private and unwanted dependency on libwkhtmltox
@@ -182,6 +186,9 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Wed Jul 18 2018 Remi Collet <remi@remirepo.net> - 0.3.2-0.3.20171112.fecc9af
+- rebuild for 7.3.0alpha4 new ABI
+
* Sun Nov 12 2017 Remi Collet <remi@remirepo.net> - 0.3.2-0.2.20171112.fecc9af
- new snapshot including 7.2 fix