public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/gn] rawhide: Rearrange the spec file a bit for easier EPEL8/9 cherry-picks
Date: Thu, 19 Nov 2026 12:42:30 GMT	[thread overview]
Message-ID: <179509215070.1.6304152059552146958.rpms-gn-0619a085e720@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-11-19 12:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179509215070.1.6304152059552146958.rpms-gn-0619a085e720@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox