From c0f6af7fcc94b71ecd48f8b326981e72d7f78223 Mon Sep 17 00:00:00 2001 From: Pat Riehecky Date: Apr 18 2017 20:43:25 +0000 Subject: Use ID from /etc/os-release as ntpvendor --- diff --git a/systemd.spec b/systemd.spec index 13dac89..24402ec 100644 --- a/systemd.spec +++ b/systemd.spec @@ -281,8 +281,7 @@ cp -p %{SOURCE12} src/login/ %build ./autogen.sh -%{?fedora: %global ntpvendor fedora} -%{?rhel: %global ntpvendor rhel} +%define ntpvendor %(source /etc/os-release; echo ${ID}) %{!?ntpvendor: echo 'NTP vendor zone is not set!'; exit 1} CONFIGURE_OPTS=(