public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/epel-rpm-macros] eln: ELN does not use numeric releasever
@ 2026-09-10 23:39 Yaakov Selkowitz
0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-09-10 23:39 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/epel-rpm-macros
Branch : eln
Commit : a6269b3f826d164c1c622f25bccc442b2b3fd01d
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date : 2026-09-09T22:49:50-04:00
Stats : +4/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/epel-rpm-macros/c/a6269b3f826d164c1c622f25bccc442b2b3fd01d?branch=eln
Log:
ELN does not use numeric releasever
More specifically, it defines releasever as eln, and releasever_major is
undefined.
---
diff --git a/epel-rpm-macros.spec b/epel-rpm-macros.spec
index afdfa27..084958e 100644
--- a/epel-rpm-macros.spec
+++ b/epel-rpm-macros.spec
@@ -14,7 +14,11 @@ Source10: macros.epel
Source11: macros.zzz-epel
# This should only be installed on Enterprise Linux with a matching major version
+%if %{defined eln}
+Requires: (redhat-release with system-release(releasever) = eln)
+%else
Requires: (redhat-release with system-release(releasever_major) = %{version})
+%endif
Requires: ansible-srpm-macros
Requires: fpc-srpm-macros
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-10 23:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-10 23:39 [rpms/epel-rpm-macros] eln: ELN does not use numeric releasever Yaakov Selkowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox