public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/systemd] rawhide: Fix ntpvendor for ELN
@ 2026-07-06 17:25 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-07-06 17:25 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/systemd
            Branch : rawhide
            Commit : 9bd26bb71f381589e937ee5d308bff559e9aaa60
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-07-06T17:24:52+00:00
            Stats  : +4/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/systemd/c/9bd26bb71f381589e937ee5d308bff559e9aaa60?branch=rawhide

            Log:
            Fix ntpvendor for ELN

This has to match a registered vendor, and ELN is one case where the OS and
vendor name are different.

https://github.com/fedora-eln/eln/issues/567

---
diff --git a/systemd.spec b/systemd.spec
index ccb9b74..f45408e 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -789,7 +789,11 @@ mv %{_sourcedir}/%{name}.fedora/* %{_sourcedir}
 sed -r -i 's/^u!/u/' sysusers.d/*.conf*
 
 %build
+%if 0%{?eln}
+%global ntpvendor fedora
+%else
 %global ntpvendor %(source /etc/os-release; echo ${ID})
+%endif
 %{!?ntpvendor: echo 'NTP vendor zone is not set!'; exit 1}
 
 VMLINUX_H_PATH=''

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

only message in thread, other threads:[~2026-07-06 17:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-06 17:25 [rpms/systemd] rawhide: Fix ntpvendor for ELN Yaakov Selkowitz

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