diff options
author | Remi Collet <remi@remirepo.net> | 2017-08-01 11:12:57 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2017-08-01 11:12:57 +0200 |
commit | 536fc3235b79820b6599a3cedd21e8a6cc2d3eed (patch) | |
tree | f551d7b5578bab0fc88fd34fb2d9b9844ba517c7 /php-pecl-taint.spec | |
parent | 37b3a5a5a175182f3307cfbe936c9dda121355aa (diff) |
v2.0.3
Diffstat (limited to 'php-pecl-taint.spec')
-rw-r--r-- | php-pecl-taint.spec | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/php-pecl-taint.spec b/php-pecl-taint.spec index 34a252c..a07c396 100644 --- a/php-pecl-taint.spec +++ b/php-pecl-taint.spec @@ -22,20 +22,18 @@ Summary: XSS code sniffer Name: %{?sub_prefix}php-pecl-taint -Version: 2.0.2 +Version: 2.0.3 %if 0%{?gh_date:1} Release: 0.9.%{gh_date}git%{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: 5%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 1%{?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 Group: Development/Languages URL: https://github.com/%{gh_owner}/%{gh_project} -Patch0: e41d11bb55aa16da57e152fecfce30a50b454c0d.patch - BuildRequires: %{?scl_prefix}php-devel > 7 BuildRequires: %{?scl_prefix}php-pear @@ -85,10 +83,9 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO %setup -qc %if 0%{?gh_date:1} mv %{gh_project}-%{gh_commit} NTS -mv NTS/package2.xml package.xml +mv NTS/package.xml package.xml %else mv %{pecl_name}-%{version} NTS -mv package2.xml package.xml %endif # Don't install/register tests @@ -97,7 +94,6 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS -%patch0 -p1 -b .upstream # see https://github.com/laruence/taint/issues/55 sed -e '/PHP_VERSION_ID/s/70200/70300/' -i php_taint.h @@ -236,6 +232,9 @@ fi %changelog +* Tue Aug 1 2017 Remi Collet <remi@remirepo.net> - 2.0.3-1 +- Update to 2.0.3 + * Tue Jul 18 2017 Remi Collet <remi@remirepo.net> - 2.0.2-5 - rebuild for PHP 7.2.0beta1 new API |