diff options
author | Remi Collet <remi@remirepo.net> | 2020-07-21 15:15:58 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-07-21 15:15:58 +0200 |
commit | 0d7335daf815a8cb8da58bf5e4b7829df0c3d58f (patch) | |
tree | 1fa2f9836c1c417a9ba2489b8325dd65bcb866da /php-ast.spec | |
parent | 53c92f26b7a26e43c3b1d148a2ebdaa8f7db6fcd (diff) |
add patch from https://github.com/nikic/php-ast/pull/165
relax tests for 8.0.0alpha3
Diffstat (limited to 'php-ast.spec')
-rw-r--r-- | php-ast.spec | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/php-ast.spec b/php-ast.spec index 20ec01b..a5bc4ea 100644 --- a/php-ast.spec +++ b/php-ast.spec @@ -24,7 +24,7 @@ Version: 1.0.7 %if 0%{?gh_date:1} Release: 0.6.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} %else -Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} %endif License: BSD URL: https://github.com/%{gh_owner}/%{gh_project} @@ -34,6 +34,8 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz %endif +Patch0: https://patch-diff.githubusercontent.com/raw/nikic/php-ast/pull/165.patch + BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel > 7 BuildRequires: %{?scl_prefix}php-pear @@ -103,6 +105,7 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS +%patch0 -p1 -b .pr165 # Sanity check, really often broken extver=$(sed -n '/#define PHP_AST_VERSION/{s/.* "//;s/".*$//;p}' php_ast.h) @@ -232,6 +235,10 @@ fi %changelog +* Tue Jul 21 2020 Remi Collet <remi@remirepo.net> - 1.0.7-2 +- add patch from https://github.com/nikic/php-ast/pull/165 + relax tests for 8.0.0alpha3 + * Sun Jul 12 2020 Remi Collet <remi@remirepo.net> - 1.0.7-1 - update to 1.0.7 |