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 %build
./autogen.sh ./autogen.sh
%{?fedora: %global ntpvendor fedora} %define ntpvendor %(source /etc/os-release; echo ${ID})
%{?rhel: %global ntpvendor rhel}
%{!?ntpvendor: echo 'NTP vendor zone is not set!'; exit 1} %{!?ntpvendor: echo 'NTP vendor zone is not set!'; exit 1}
CONFIGURE_OPTS=( CONFIGURE_OPTS=(