Use ID from /etc/os-release as ntpvendor

This commit is contained in:
Pat Riehecky 2017-04-18 16:43:25 -04:00 committed by Zbigniew Jędrzejewski-Szmek
parent 3e3b80766f
commit c0f6af7fcc

View File

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