From f214b205969631cdaf47158777c40896f5160b3f Mon Sep 17 00:00:00 2001 From: sunsuwan Date: Mon, 29 Aug 2022 10:13:34 +0800 Subject: [PATCH] run the bootstrap to prevent build failures --- ntp.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/ntp.spec b/ntp.spec index f4f3cab..3406838 100644 --- a/ntp.spec +++ b/ntp.spec @@ -2,7 +2,7 @@ Name: ntp Version: 4.2.8p15 -Release: 6 +Release: 7 Summary: A protocol designed to synchronize the clocks of computers over a network License: MIT and BSD and BSD with advertising URL: https://www.ntp.org/ @@ -28,7 +28,7 @@ Patch5: Do-not-use-PTHREAD_STACK_MIN-on-glibc.patch Patch6: fix-MD5-manpage.patch BuildRequires: libcap-devel openssl-devel libedit-devel libevent-devel pps-tools-devel -BuildRequires: autogen autogen-libopts-devel systemd gcc perl-generators perl-HTML-Parser +BuildRequires: autogen autogen-libopts-devel systemd gcc perl-generators perl-HTML-Parser libtool Requires(pre): shadow-utils autogen >= 5.18.16 %{?systemd_requires} Recommends: ntpstat timedatex @@ -65,6 +65,8 @@ for f in COPYRIGHT; do iconv -f iso8859-1 -t utf8 -o ${f}{_,} && touch -r ${f}{,_} && mv -f ${f}{_,} done +./bootstrap + %build sed -i 's|$CFLAGS -Wstrict-overflow|$CFLAGS|' configure sntp/configure export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fno-strict-overflow" @@ -208,6 +210,12 @@ make check %{_mandir}/man8/*.8* %changelog +* Mon Aug 29 2022 chengyechun - 4.2.8p15-7 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:run the bootstrap script to prevent build failures + * Fri Dec 3 2021 renmingshuai - 4.2.8p15-6 - Type:bugfix - ID:NA -- Gitee