public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gn] rawhide: Rearrange the spec file a bit for easier EPEL8/9 cherry-picks
@ 2026-11-19 12:42 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-11-19 12:42 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/gn
            Branch : rawhide
            Commit : 0619a085e7209fdcf1d2cef49773a7f4aabdaedc
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-11-19T12:39:57+00:00
            Stats  : +11/-13 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/gn/c/0619a085e7209fdcf1d2cef49773a7f4aabdaedc?branch=rawhide

            Log:
            Rearrange the spec file a bit for easier EPEL8/9 cherry-picks

[skip changelog]

---
diff --git a/gn.spec b/gn.spec
index d296f9e..7d1941c 100644
--- a/gn.spec
+++ b/gn.spec
@@ -1,9 +1,6 @@
-# We ought to be able to re-generate source files that come from cxxbridge, but
-# this currently fails with an “unsupported attribute” error for
-# #[cxx_return_type = "…"] in src/gn/starlark/crates/ffi/src/bridge.rs.
-%bcond regenerate_bridge 0
-
-Name:           gn
+%global commit f126a26ef94d5c4620d0e7d06e2390bc621d846a
+%global access 20261119
+%global position 2637
 # Upstream uses the number of commits in the git history as the version number.
 # See gn --version, which outputs something like “1874 (2b683eff)”. The commit
 # position and short commit hash in this string come from “git describe HEAD
@@ -18,18 +15,19 @@ Name:           gn
 #  1. Clone the git repository from the Internet (a substantial download)
 #  2. Run build/gen.py to generate last_commit_position.h, the header with
 #     version information, and copy it into the same directory as the script
-#  3. Modify the commit and access macros and the Version field in this spec
-#     file.
+#  3. Modify the commit, access, and position macros in this spec file, above.
 #  4. Download the source tarball (spectool -g)
 #  5. Update the sources (fedpkg new-sources %%{commit}.tar.gz)
 #  6. Stage all changes in git
 #  7. Commit the changes
-#
-# See https://gn.googlesource.com/gn/+log for the latest changes.
-%global commit f126a26ef94d5c4620d0e7d06e2390bc621d846a
-%global access 20261119
+
+# We ought to be able to re-generate source files that come from cxxbridge, but
+# this currently fails with an “unsupported attribute” error for
+# #[cxx_return_type = "…"] in src/gn/starlark/crates/ffi/src/bridge.rs.
+%bcond regenerate_bridge 0
+
+Name:           gn
 %global shortcommit %{sub %{commit} 1 12}
-%global position 2637
 Version:        %{position}^%{access}.%{shortcommit}
 Release:        %autorelease
 Summary:        Meta-build system that generates build files for Ninja

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

only message in thread, other threads:[~2026-11-19 12:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-19 12:42 [rpms/gn] rawhide: Rearrange the spec file a bit for easier EPEL8/9 cherry-picks 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