public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/fedora-release] f45: manage an astronomical amount of distprefixes, to handle packagers that mix several sources in the same spec file
@ 2026-08-10 9:34 Nicolas Mailhot
0 siblings, 0 replies; only message in thread
From: Nicolas Mailhot @ 2026-08-10 9:34 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/fedora-release
Branch : f45
Commit : e97935f775310fd8756761d3a63cb282673c2543
Author : Nicolas Mailhot <nim@fedoraproject.org>
Date : 2019-04-14T16:02:42+02:00
Stats : +2/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/fedora-release/c/e97935f775310fd8756761d3a63cb282673c2543?branch=f45
Log:
manage an astronomical amount of distprefixes, to handle packagers that mix several sources in the same spec file
Signed-off-by: Nicolas Mailhot <nim@fedoraproject.org>
---
diff --git a/fedora-release.spec b/fedora-release.spec
index a703ee1..cf41682 100644
--- a/fedora-release.spec
+++ b/fedora-release.spec
@@ -479,9 +479,9 @@ install -d -m 755 %{buildroot}%{_rpmconfigdir}/macros.d
cat >> %{buildroot}%{_rpmconfigdir}/macros.d/macros.dist << EOF
# dist macros.
-%%fedora %{dist_version}
+%%fedora %{dist_version}
%%__bootstrap ~bootstrap
-%%dist %%{?distprefix}.fc%{dist_version}%%{?with_bootstrap:%{__bootstrap}}
+%%dist %%{!?distprefix0:%%{?distprefix}}%%{expand:%%{lua:for i=0,9999 do print("%%{?distprefix" .. i .."}") end}}.fc%{dist_version}%%{?with_bootstrap:%{__bootstrap}}
%%fc%{dist_version} 1
EOF
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-10 9:34 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:34 [rpms/fedora-release] f45: manage an astronomical amount of distprefixes, to handle packagers that mix several sources in the same spec file Nicolas Mailhot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox