public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Sandro Bonazzola <sbonazzo@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/fedora-release] f45: make $releasever return eln and not rawhide
Date: Mon, 10 Aug 2026 09:36:19 GMT	[thread overview]
Message-ID: <178635457986.1.145171402250388880.rpms-fedora-release-a4043c9d6efb@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/fedora-release
            Branch : f45
            Commit : a4043c9d6efbaa926ca0d068304ac423cc75d6ee
            Author : Sandro Bonazzola <sbonazzo@redhat.com>
            Date   : 2023-10-30T19:26:01+00:00
            Stats  : +6/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/fedora-release/c/a4043c9d6efbaa926ca0d068304ac423cc75d6ee?branch=f45

            Log:
            make $releasever return eln and not rawhide

makes life much easier when using copr repo for ELN.

Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com>

---
diff --git a/fedora-release.spec b/fedora-release.spec
index 679eadc..0581462 100644
--- a/fedora-release.spec
+++ b/fedora-release.spec
@@ -8,7 +8,11 @@
 
 %if %{is_rawhide}
 %define bug_version rawhide
-%define releasever rawhide
+%if 0%{?eln}
+  %define releasever eln
+%else
+  %define releasever rawhide
+%endif
 %define doc_version rawhide
 %else
 %define bug_version %{dist_version}
@@ -153,6 +157,7 @@ Requires:   fedora-release-identity = %{version}-%{release}
 
 %if %{is_rawhide}
 # Make $releasever return "rawhide" on Rawhide
+# and "eln" on ELN.
 # https://pagure.io/releng/issue/7445
 Provides:       system-release(releasever) = %{releasever}
 %endif

                 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=178635457986.1.145171402250388880.rpms-fedora-release-a4043c9d6efb@fedoraproject.org \
    --to=sbonazzo@redhat.com \
    --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