summaryrefslogtreecommitdiffstats
path: root/php-pecl-parle.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-parle.spec')
-rw-r--r--php-pecl-parle.spec11
1 files changed, 5 insertions, 6 deletions
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 <remi@remirepo.net> - 0.8.1-1
+- Update to 0.8.1
+
* Thu Mar 1 2018 Remi Collet <remi@remirepo.net> - 0.7.3-2
- add patch to fix build with gcc 8
from https://github.com/weltling/parle/pull/13