From d5468cc99ab9fda8b5c895fe48c64caa2f78ed83 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 26 Dec 2019 07:58:35 +0100 Subject: v2.0.6 --- php-pecl-taint.spec | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) (limited to 'php-pecl-taint.spec') 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 - 2.0.6-1 +- update to 2.0.6 + * Tue Jun 4 2019 Remi Collet - 2.0.5-2 - fix test suite -- cgit