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.spec11
1 files changed, 9 insertions, 2 deletions
diff --git a/php-pecl-taint.spec b/php-pecl-taint.spec
index b34afa7..ba162bb 100644
--- a/php-pecl-taint.spec
+++ b/php-pecl-taint.spec
@@ -15,7 +15,7 @@
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner laruence
%global gh_project taint
-%global gh_date 20180627
+#global gh_date 20180627
%global pecl_name taint
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
%global ini_name 40-%{pecl_name}.ini
@@ -27,13 +27,14 @@ Version: 2.0.5
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: 3%{?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
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
BuildRequires: %{?scl_prefix}php-devel > 7
@@ -104,6 +105,7 @@ sed -e 's/role="test"/role="src"/' \
cd NTS
%patch0 -p1 -b .pr64
+%patch1 -p1 -b .pr68
# When this file will be removed, clean the description.
[ -f EXPERIMENTAL ] || exit 1
@@ -242,6 +244,11 @@ fi
%changelog
+* Wed Dec 12 2018 Remi Collet <remi@remirepo.net> - 2.0.5-1
+- Update to 2.0.5
+- add patch for PHP 7.0 from
+ https://github.com/laruence/taint/pull/68
+
* Thu Aug 16 2018 Remi Collet <remi@remirepo.net> - 2.0.5-0.3.20180627.4b76d9f
- rebuild for 7.3.0beta2 new ABI