From 74c0cef4d8df724b921b09f75a731c1e0d777a2f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 5 Mar 2018 05:46:21 +0100 Subject: v0.8.1 --- php-pecl-parle.spec | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'php-pecl-parle.spec') diff --git a/php-pecl-parle.spec b/php-pecl-parle.spec index c38981d..02ecb26 100644 --- a/php-pecl-parle.spec +++ b/php-pecl-parle.spec @@ -30,15 +30,13 @@ BuildRequires: devtoolset-6-toolchain Summary: Parsing and lexing Name: %{?sub_prefix}php-pecl-%{pecl_name} -Version: 0.7.3 +Version: 0.8.1 Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} # Extension is BSD, libraries are Boost License: BSD and Boost URL: http://pecl.php.net/package/%{pecl_name} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz -Patch0: 0001-fix-12-error-return-statement-with-a-value-in-functi.patch - BuildRequires: %{?scl_prefix}php-devel >= 7 BuildRequires: %{?scl_prefix}php-pear BuildRequires: %{?scl_prefix}php-json @@ -111,8 +109,6 @@ mv NTS/lib/parsertl14/parsertl/licence_1_0.txt NTS/LICENSE.parsertl14 %endif cd NTS -%patch0 -p1 - # Sanity check, really often broken extver=$(sed -n '/#define PHP_PARLE_VERSION/{s/.* "//;s/".*$//;p}' php_parle.h) if test "x${extver}" != "x%{version}%{?prever:-%{prever}}"; then @@ -207,7 +203,7 @@ make test %endif -%if 0%{?fedora} < 24 +%if 0%{?fedora} < 24 && 0%{?rhel} < 8 # when pear installed alone, after us %triggerin -- %{?scl_prefix}php-pear if [ -x %{__pecl} ] ; then @@ -242,6 +238,9 @@ fi %changelog +* Mon Mar 5 2018 Remi Collet - 0.8.1-1 +- Update to 0.8.1 + * Thu Mar 1 2018 Remi Collet - 0.7.3-2 - add patch to fix build with gcc 8 from https://github.com/weltling/parle/pull/13 -- cgit