public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gn] epel10: Update to version 2598
@ 2026-10-19 13:55 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-10-19 13:55 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/gn
Branch : epel10
Commit : ce2e73f9364db8ad7df96a75a56be199479d8934
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-10-19T14:53:19+01:00
Stats  : +16/-10 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/gn/c/ce2e73f9364db8ad7df96a75a56be199479d8934?branch=epel10

Log:
Update to version 2598

---
diff --git a/gn.spec b/gn.spec
index 1ff055c..652d613 100644
--- a/gn.spec
+++ b/gn.spec
@@ -26,10 +26,10 @@ Name:           gn
 #  7. Commit the changes
 #
 # See https://gn.googlesource.com/gn/+log for the latest changes.
-%global commit 0e7d98e041b01eb5fed29a9a80482ed8ca9efe5b
-%global access 20261002
+%global commit f90c3d9df882a9da4a66457f47dd3d99b3df3dd5
+%global access 20261019
 %global shortcommit %{sub %{commit} 1 12}
-%global position 2586
+%global position 2598
 Version:        %{position}^%{access}.%{shortcommit}
 Release:        %autorelease
 Summary:        Meta-build system that generates build files for Ninja
@@ -156,10 +156,6 @@ The gn-doc package contains detailed documentation for GN.
 %prep
 %autosetup -c -n gn-%{commit} -p1
 
-# Use pre-generated last_commit_position.h.
-mkdir ./out
-cp --preserve '%{SOURCE1}' ./out/
-
 # Copy and rename vim extensions readme for use in the main documentation
 # directory.
 cp --preserve misc/vim/README.md README-vim.md
@@ -198,6 +194,16 @@ AR='gcc-ar'; export AR
     --no-strip \
     --no-static-libstdc++
 
+# Even with --no-last-commit-position, build/gen.py now generates a dummy
+# out/last_commit_position.h with:
+#
+#   #define LAST_COMMIT_POSITION_NUM 0
+#   #define LAST_COMMIT_POSITION "0 (UNKNOWN)"
+#
+# Therefore, we must wait until after we have run build/gen.py to copy in the
+# correct, pre-generated last_commit_position.h.
+cp --preserve '%{SOURCE1}' ./out/
+
 
 %build
 %ninja_build -C out

diff --git a/last_commit_position.h b/last_commit_position.h
index 6de4247..75c7beb 100644
--- a/last_commit_position.h
+++ b/last_commit_position.h
@@ -3,7 +3,7 @@
 #ifndef OUT_LAST_COMMIT_POSITION_H_
 #define OUT_LAST_COMMIT_POSITION_H_
 
-#define LAST_COMMIT_POSITION_NUM 2586
-#define LAST_COMMIT_POSITION "2586 (0e7d98e041b0)"
+#define LAST_COMMIT_POSITION_NUM 2598
+#define LAST_COMMIT_POSITION "2598 (f90c3d9df882)"
 
 #endif  // OUT_LAST_COMMIT_POSITION_H_

diff --git a/sources b/sources
index edbf49a..f58d483 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (gn-0e7d98e041b0.tar.gz) = a9533135520172e641d1b4acc5e8771af0e084075ff5dfab000e3d36a53568ffc5135c56ffcffb5b3be027827726f108257a185a04af38cbf6a1ec21fbd79a33
+SHA512 (gn-f90c3d9df882.tar.gz) = 3f1f4b111364410d541960aac8c65d0687b015089f4b59c17f4f6d24519abed75360015fb89ea22a9fea2256ec970947c9842a4eab5ce18a1c7761cdae00d007

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

only message in thread, other threads:[~2026-10-19 13:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-19 13:55 [rpms/gn] epel10: Update to version 2598 Benjamin A. Beasley

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