Use ID from /etc/os-release as ntpvendor
This commit is contained in:
parent
3e3b80766f
commit
c0f6af7fcc
@ -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=(
|
||||||
|
Loading…
Reference in New Issue
Block a user