summaryrefslogtreecommitdiffstats
path: root/php85.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php85.spec')
-rw-r--r--php85.spec17
1 files changed, 14 insertions, 3 deletions
diff --git a/php85.spec b/php85.spec
index 27721f0..47502c0 100644
--- a/php85.spec
+++ b/php85.spec
@@ -89,8 +89,8 @@
%bcond_without libgd
%bcond_with zip
-%global upver 8.5.5
-#global rcver RC1
+%global upver 8.5.6
+%global rcver RC1
# TODO set PHP_EXTRA_VERSION for EOL version
Summary: PHP scripting language for creating dynamic web sites
@@ -383,7 +383,8 @@ Provides: php-gettext, php-gettext%{?_isa}
Provides: php-hash, php-hash%{?_isa}
Provides: php-lexbor, php-lexbor%{?_isa}
# See ext/lexbor/patches/README.md
-Provides: bundled(lexbor) = 2.5.0
+%global lexborver 2.7.0
+Provides: bundled(lexbor) = %{lexborver}
Provides: php-mhash = %{version}, php-mhash%{?_isa} = %{version}
Provides: php-iconv, php-iconv%{?_isa}
Obsoletes: php-json < 8
@@ -1121,6 +1122,13 @@ if test "$ver" != "%{zipver}"; then
exit 1
fi
+vlexbor=`sed -n '/Lexbor version/{s/.* is //;s/\.$//;p}' ext/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.
@@ -1876,6 +1884,9 @@ systemctl try-restart php-fpm.service >/dev/null 2>&1 || :
%changelog
+* Wed Apr 22 2026 Remi Collet <remi@remirepo.net> - 8.5.6~RC1-1
+- update to 8.5.6RC1
+
* Wed Apr 8 2026 Remi Collet <remi@remirepo.net> - 8.5.5-1
- Update to 8.5.5 - http://www.php.net/releases/8_5_5.php