summaryrefslogtreecommitdiffstats
path: root/php-pecl-taint.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-taint.spec')
-rw-r--r--php-pecl-taint.spec13
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