public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ntpsec] rawhide: use fedora pool.ntp.org vendor zone on eln
@ 2026-07-07  9:50 Miroslav Lichvar
  0 siblings, 0 replies; only message in thread
From: Miroslav Lichvar @ 2026-07-07  9:50 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/ntpsec
            Branch : rawhide
            Commit : 517775553c059adb3a0d98547049264bb0089ca3
            Author : Miroslav Lichvar <mlichvar@redhat.com>
            Date   : 2026-07-07T11:48:20+02:00
            Stats  : +4/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/ntpsec/c/517775553c059adb3a0d98547049264bb0089ca3?branch=rawhide

            Log:
            use fedora pool.ntp.org vendor zone on eln

The ID in /etc/os-release on eln changed from fedora to eln, but there
is no eln vendor zone. Keep using the fedora zone.

---
diff --git a/ntpsec.spec b/ntpsec.spec
index 30b02d3..d3e39dc 100644
--- a/ntpsec.spec
+++ b/ntpsec.spec
@@ -30,8 +30,12 @@ Obsoletes:      ntp < 4.2.10 ntp-perl < 4.2.10 ntp-doc < 4.2.10 ntpdate < 4.2.10
 
 # Set pool.ntp.org vendor zone for default configuration
 %if 0%{!?vendorzone:1}
+%if 0%{?eln}
+%global vendorzone fedora.
+%else
 %global vendorzone %(source /etc/os-release && echo ${ID}.)
 %endif
+%endif
 
 # Private library
 %global __provides_exclude ^libntpc\\.so.*$

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

only message in thread, other threads:[~2026-07-07  9:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-07  9:50 [rpms/ntpsec] rawhide: use fedora pool.ntp.org vendor zone on eln Miroslav Lichvar

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