public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/fedora-release] f45: Add optional buildrelease macro to the DistTag macro
@ 2026-08-10  9:36 Neal Gompa
  0 siblings, 0 replies; only message in thread
From: Neal Gompa @ 2026-08-10  9:36 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/fedora-release
            Branch : f45
            Commit : a058942b62d9e87ff7ff5ef0b10a4b3d45371536
            Author : Neal Gompa <ngompa@fedoraproject.org>
            Date   : 2025-12-01T18:27:43+00:00
            Stats  : +1/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/fedora-release/c/a058942b62d9e87ff7ff5ef0b10a4b3d45371536?branch=f45

            Log:
            Add optional buildrelease macro to the DistTag macro

This enables future work for automatic reverse dependency
mass builds by providing a pathway to set a value to make
each successive build of a given package input have an
increasing release value set by the build system.

Signed-off-by: Neal Gompa <ngompa@fedoraproject.org>

---
diff --git a/fedora-release.spec b/fedora-release.spec
index c285dd4..cb7f0ba 100644
--- a/fedora-release.spec
+++ b/fedora-release.spec
@@ -2035,7 +2035,7 @@ cat >> %{buildroot}%{_rpmconfigdir}/macros.d/macros.dist << EOF
 %%fc%{dist_version}                1
 %%distcore            .fc%%{fedora}
 %endif
-%%dist                %%{!?distprefix0:%%{?distprefix}}%%{expand:%%{lua:for i=0,9999 do print("%%{?distprefix" .. i .."}") end}}%%{distcore}%%{?with_bootstrap:%%{__bootstrap}}
+%%dist                %%{!?distprefix0:%%{?distprefix}}%%{expand:%%{lua:for i=0,9999 do print("%%{?distprefix" .. i .."}") end}}%%{distcore}%%{?with_bootstrap:%%{__bootstrap}}%%{?buildrelease:+build%%{buildrelease}}
 %%dist_vendor         %{dist_vendor}
 %%dist_name           %{dist_name}
 %%dist_purl_namespace %{dist_purl_namespace}

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

only message in thread, other threads:[~2026-08-10  9:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-10  9:36 [rpms/fedora-release] f45: Add optional buildrelease macro to the DistTag macro Neal Gompa

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