public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/systemd] rawhide: Fix ntpvendor for ELN
Date: Mon, 06 Jul 2026 17:25:05 GMT	[thread overview]
Message-ID: <178335870542.1.288844530002087384.rpms-systemd-9bd26bb71f38@fedoraproject.org> (raw)

            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=''

                 reply	other threads:[~2026-07-06 17:25 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=178335870542.1.288844530002087384.rpms-systemd-9bd26bb71f38@fedoraproject.org \
    --to=yselkowi@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