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