diff --git a/ntp.spec b/ntp.spec index 46cdd48..e6c59ce 100644 --- a/ntp.spec +++ b/ntp.spec @@ -124,8 +124,7 @@ This package contains NTP documentation in HTML format. # pool.ntp.org vendor zone which will be used in ntp.conf %if 0%{!?vendorzone:1} -%{?fedora: %global vendorzone fedora.} -%{?rhel: %global vendorzone rhel.} +%global vendorzone %(source /etc/os-release && echo ${ID}.) %endif %prep