diff options
-rw-r--r-- | php-pecl-taint.spec | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/php-pecl-taint.spec b/php-pecl-taint.spec index c1540b2..eacb37c 100644 --- a/php-pecl-taint.spec +++ b/php-pecl-taint.spec @@ -24,10 +24,10 @@ Summary: XSS code sniffer Name: %{?sub_prefix}php-pecl-taint Version: 2.0.5 %if 0%{?gh_date:1} -Release: 0.1.%{gh_date}.%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 0.2.%{gh_date}.%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}-%{gh_short}.tar.gz %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;')}} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz %endif License: PHP @@ -57,6 +57,10 @@ Obsoletes: php71w-pecl-%{pecl_name} <= %{version} Obsoletes: php72u-pecl-%{pecl_name} <= %{version} Obsoletes: php72w-pecl-%{pecl_name} <= %{version} %endif +%if "%{php_version}" > "7.3" +Obsoletes: php73u-pecl-%{pecl_name} <= %{version} +Obsoletes: php73w-pecl-%{pecl_name} <= %{version} +%endif %endif Provides: %{?scl_prefix}php-%{pecl_name} = %{version} @@ -238,6 +242,9 @@ fi %changelog +* Wed Jul 18 2018 Remi Collet <remi@remirepo.net> - 2.0.5-0.2.20180627.4b76d9f +- rebuild for 7.3.0alpha4 new ABI + * Wed Jun 27 2018 Remi Collet <remi@remirepo.net> - 2.0.5-0.1.20180627.4b76d9f - update to 2.0.5-dev for PHP 7.3 - add patch for -Wformat errors from |