summaryrefslogtreecommitdiffstats
path: root/php84.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php84.spec')
-rw-r--r--php84.spec17
1 files changed, 14 insertions, 3 deletions
diff --git a/php84.spec b/php84.spec
index e1a9d8e..4d18ed0 100644
--- a/php84.spec
+++ b/php84.spec
@@ -80,8 +80,8 @@
%bcond_without libgd
%bcond_with zip
-%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
@@ -664,7 +664,8 @@ Provides: php-xmlreader, php-xmlreader%{?_isa}
Provides: php-xmlwriter, php-xmlwriter%{?_isa}
Provides: php-xsl, 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
@@ -1090,6 +1091,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
+
# Check for some extension version
ver=$(sed -n '/#define PHP_ZIP_VERSION /{s/.* "//;s/".*$//;p}' ext/zip/php_zip.h)
if test "$ver" != "%{zipver}"; then
@@ -1856,6 +1864,9 @@ systemctl try-restart php-fpm.service >/dev/null 2>&1 || :
%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