From 23f2f19feff8cbe58faef9f7bdf1e54dce53ed74 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 14 Mar 2019 16:20:33 +0100 Subject: update to 0.0.3 open https://github.com/ph4r05/php_aho_corasick/pull/11 fix error: format not a string literal and no format arguments --- php-pecl-ahocorasick.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'php-pecl-ahocorasick.spec') diff --git a/php-pecl-ahocorasick.spec b/php-pecl-ahocorasick.spec index 304ee92..035aab8 100644 --- a/php-pecl-ahocorasick.spec +++ b/php-pecl-ahocorasick.spec @@ -23,12 +23,14 @@ Summary: Effective Aho-Corasick string pattern matching algorithm Name: %{?sub_prefix}php-pecl-%{pecl_name} -Version: 0.0.2 +Version: 0.0.3 Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: PHP and LGPLv3 URL: http://pecl.php.net/package/%{pecl_name} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz +Patch0: https://github.com/ph4r05/php_aho_corasick/pull/11.patch + BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel BuildRequires: %{?scl_prefix}php-pear @@ -94,6 +96,8 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS +%patch0 -p1 -b .pr11 + # Sanity check, really often broken extver=$(sed -n '/#define PHP_AHOCORASICK_VERSION/{s/.* "//;s/".*$//;p}' src/php_ahocorasick.h) if test "x${extver}" != "x%{version}"; then @@ -227,6 +231,11 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Thu Mar 14 2019 Remi Collet - 0.0.3-1 +- update to 0.0.3 +- open https://github.com/ph4r05/php_aho_corasick/pull/11 + fix error: format not a string literal and no format arguments + * Thu Feb 14 2019 Remi Collet - 0.0.2-1 - update to 0.0.2 -- cgit