summaryrefslogtreecommitdiffstats
path: root/php.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2026-04-22 08:10:45 +0200
committerRemi Collet <remi@php.net>2026-04-22 08:10:45 +0200
commitfa2b725db72377237e89e3fb57b8cb37007ebff4 (patch)
tree9985f63a21860c41ea3a0e57ba3a0ba2606a8828 /php.spec
parentc44d9e763d1fbf900c88e068538643bbacbb6643 (diff)
update to 8.4.21RC1HEADmaster
Diffstat (limited to 'php.spec')
-rw-r--r--php.spec17
1 files changed, 14 insertions, 3 deletions
diff --git a/php.spec b/php.spec
index ed58f41..562059b 100644
--- a/php.spec
+++ b/php.spec
@@ -93,8 +93,8 @@
#global gh_date 20230605
%global gh_owner php
%global gh_project php-src
-%global upver 8.4.20
-#global rcver RC1
+%global upver 8.4.21
+%global rcver RC1
# TODO set PHP_EXTRA_VERSION for EOL version
Summary: PHP scripting language for creating dynamic web sites
@@ -599,7 +599,8 @@ Provides: %{?scl_prefix}php-xmlreader, %{?scl_prefix}php-xmlreader%{?_isa}
Provides: %{?scl_prefix}php-xmlwriter, %{?scl_prefix}php-xmlwriter%{?_isa}
Provides: %{?scl_prefix}php-xsl, %{?scl_prefix}php-xsl%{?_isa}
# See ext/dom/lexbor/patches/README.md
-Provides: bundled(lexbor) = 2.5.0
+%global lexborver 2.7.0
+Provides: bundled(lexbor) = %{lexborver}
BuildRequires: pkgconfig(libxslt) >= 1.1
BuildRequires: pkgconfig(libexslt)
BuildRequires: pkgconfig(libxml-2.0) >= 2.7.6
@@ -954,6 +955,13 @@ if test "x${vpdo}" != "x%{pdover}"; then
exit 1
fi
+vlexbor=`sed -n '/Lexbor version/{s/.* is //;s/\.$//;p}' ext/dom/lexbor/patches/README.md`
+if test "x${vlexbor}" != "x%{lexborver}"; then
+ : Error: Upstream Lexbor version is now ${vlexbor}, expecting %{lexborver}.
+ : Update the lexborver macro and rebuild.
+ exit 1
+fi
+
# https://bugs.php.net/63362 - Not needed but installed headers.
# Drop some Windows specific headers to avoid installation,
# before build to ensure they are really not needed.
@@ -1663,6 +1671,9 @@ fi
%changelog
+* Wed Apr 22 2026 Remi Collet <remi@remirepo.net> - 8.4.21~RC1-1
+- update to 8.4.21RC1
+
* Wed Apr 8 2026 Remi Collet <remi@remirepo.net> - 8.4.20-1
- Update to 8.4.20 - http://www.php.net/releases/8_4_20.php