public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/php] private-php86: check bundled lexbor version
@ 2026-11-27  7:34 Remi Collet
  0 siblings, 0 replies; only message in thread
From: Remi Collet @ 2026-11-27  7:34 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/php
Branch : private-php86
Commit : 2943cc778a2ee6aa7cc49665bb79c1b056815566
Author : Remi Collet <remi@fedoraproject.org>
Date   : 2026-04-17T09:24:55+02:00
Stats  : +9/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/php/c/2943cc778a2ee6aa7cc49665bb79c1b056815566?branch=private-php86

Log:
check bundled lexbor version

---
diff --git a/php.spec b/php.spec
index 728e697..8f60f37 100644
--- a/php.spec
+++ b/php.spec
@@ -333,7 +333,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.5.0
+Provides: bundled(lexbor) = %{lexborver}
 Provides: php-mhash = %{version}, php-mhash%{?_isa} = %{version}
 Provides: php-iconv, php-iconv%{?_isa}
 Obsoletes: php-json < 8
@@ -934,6 +935,13 @@ if test "x${vpdo}" != "x%{pdover}"; 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.

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-27  7:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-27  7:34 [rpms/php] private-php86: check bundled lexbor version Remi Collet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox