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.spec17
1 files changed, 6 insertions, 11 deletions
diff --git a/php-pecl-taint.spec b/php-pecl-taint.spec
index 39e829e..c368857 100644
--- a/php-pecl-taint.spec
+++ b/php-pecl-taint.spec
@@ -22,18 +22,17 @@
Summary: XSS code sniffer
Name: %{?sub_prefix}php-pecl-taint
-Version: 2.0.5
+Version: 2.0.6
%if 0%{?gh_date:1}
Release: 0.3.%{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: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
-Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
+Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz
%endif
License: PHP
URL: https://github.com/%{gh_owner}/%{gh_project}
-Patch0: https://patch-diff.githubusercontent.com/raw/laruence/taint/pull/64.patch
Patch1: https://patch-diff.githubusercontent.com/raw/laruence/taint/pull/68.patch
BuildRequires: %{?dtsprefix}gcc
@@ -48,12 +47,6 @@ Requires: %{?scl_prefix}php(api) = %{php_core_api}
%{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}}
%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
-Obsoletes: php70u-pecl-%{pecl_name} <= %{version}
-Obsoletes: php70w-pecl-%{pecl_name} <= %{version}
-%if "%{php_version}" > "7.1"
-Obsoletes: php71u-pecl-%{pecl_name} <= %{version}
-Obsoletes: php71w-pecl-%{pecl_name} <= %{version}
-%endif
%if "%{php_version}" > "7.2"
Obsoletes: php72u-pecl-%{pecl_name} <= %{version}
Obsoletes: php72w-pecl-%{pecl_name} <= %{version}
@@ -108,7 +101,6 @@ sed -e 's/role="test"/role="src"/' \
-i package.xml
cd NTS
-%patch0 -p1 -b .pr64
%patch1 -p1 -b .pr68
# When this file will be removed, clean the description.
@@ -246,6 +238,9 @@ fi
%changelog
+* Thu Dec 26 2019 Remi Collet <remi@remirepo.net> - 2.0.6-1
+- update to 2.0.6
+
* Tue Jun 4 2019 Remi Collet <remi@remirepo.net> - 2.0.5-2
- fix test suite