diff options
| -rw-r--r-- | php-wkhtmltox.spec | 13 | 
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  | 
