summaryrefslogtreecommitdiffstats
path: root/php-ast.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2026-07-16 09:05:27 +0200
committerRemi Collet <remi@php.net>2026-07-16 09:05:27 +0200
commitc140e54d15b73a1cdffe89e509c7235bc55638e4 (patch)
treeacb6450fbba1382abd020684992096b91ec59045 /php-ast.spec
parent967129c7e4e8ba0b84c7bbdb256a2619d3ba68f5 (diff)
upstream patch for PHP 8.6.0alpha2HEADmaster
Diffstat (limited to 'php-ast.spec')
-rw-r--r--php-ast.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/php-ast.spec b/php-ast.spec
index 8a657c6..0f2529d 100644
--- a/php-ast.spec
+++ b/php-ast.spec
@@ -29,11 +29,13 @@ Summary: Abstract Syntax Tree
Name: %{?scl_prefix}php-ast
License: BSD-3-Clause
Version: 1.1.3
-Release: 3%{?dist}
+Release: 4%{?dist}
%forgemeta
URL: %{forgeurl}
Source0: %{forgesource}
+Patch0: php86.patch
+
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel >= 7.2
@@ -63,6 +65,8 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO
%setup -qc
cd %{sources}
+%patch -P0 -p1
+
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_AST_VERSION/{s/.* "//;s/".*$//;p}' php_ast.h)
if test "x${extver}" != "x%{version}"; then
@@ -172,6 +176,9 @@ TEST_PHP_ARGS="-n -d extension=tokenizer.so -d extension=%{buildroot}%{php_ztsex
%changelog
+* Thu Jul 16 2026 Remi Collet <remi@remirepo.net> - 1.1.3-4
+- upstream patch for PHP 8.6.0alpha2
+
* Fri Mar 13 2026 Remi Collet <remi@remirepo.net> - 1.1.3-3
- drop pear/pecl dependency
- sources from github