public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Owen W. Taylor <otaylor@fishsoup.net>
To: git-commits@fedoraproject.org
Subject: [rpms/fedora-release] f45: Split tag-varying bit of dist into %%{distcore}
Date: Mon, 10 Aug 2026 09:36:14 GMT [thread overview]
Message-ID: <178635457428.1.14811050640136673842.rpms-fedora-release-b59c2ded4414@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/fedora-release
Branch : f45
Commit : b59c2ded44149899e65d6e3ca271325140ad585b
Author : Owen W. Taylor <otaylor@fishsoup.net>
Date : 2023-08-17T06:49:03-04:00
Stats : +3/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/fedora-release/c/b59c2ded44149899e65d6e3ca271325140ad585b?branch=f45
Log:
Split tag-varying bit of dist into %%{distcore}
To avoid repeating much of the complexity of the %%dist definition for
ELN, f<n>-flatpak-app-build, f<n>-flatpak-runtime-build, split out a
%%{distcore} part that can more easily be redefined.
---
diff --git a/fedora-release.spec b/fedora-release.spec
index bd2dd3b..94c4ffc 100644
--- a/fedora-release.spec
+++ b/fedora-release.spec
@@ -1572,12 +1572,13 @@ cat >> %{buildroot}%{_rpmconfigdir}/macros.d/macros.dist << EOF
%%el%{rhel_dist_version} 1
# Although eln is set in koji tags, we put it in the macros.dist file for local and mock builds.
%%eln %{eln}
-%%dist %%{!?distprefix0:%%{?distprefix}}%%{expand:%%{lua:for i=0,9999 do print("%%{?distprefix" .. i .."}") end}}.el%%{eln}%%{?with_bootstrap:%{__bootstrap}}
+%%distcore .el%%{eln}
%else
%%fedora %{dist_version}
%%fc%{dist_version} 1
-%%dist %%{!?distprefix0:%%{?distprefix}}%%{expand:%%{lua:for i=0,9999 do print("%%{?distprefix" .. i .."}") end}}.fc%%{fedora}%%{?with_bootstrap:%{__bootstrap}}
+%%distcore .fc%%{fedora}
%endif
+%%dist %%{!?distprefix0:%%{?distprefix}}%%{expand:%%{lua:for i=0,9999 do print("%%{?distprefix" .. i .."}") end}}%%{distcore}{?with_bootstrap:%{__bootstrap}}
%%dist_vendor %{dist_vendor}
%%dist_name %{dist_name}
%%dist_home_url %{dist_home_url}
reply other threads:[~2026-08-10 9:36 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=178635457428.1.14811050640136673842.rpms-fedora-release-b59c2ded4414@fedoraproject.org \
--to=otaylor@fishsoup.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