diff --git a/ntp.spec b/ntp.spec index 6181d58f31c447adc72bd9353230cea2c302c74a..0c77907b94481df181a0bcee64f173da43033d31 100644 --- a/ntp.spec +++ b/ntp.spec @@ -2,7 +2,7 @@ Name: ntp Version: 4.2.8p17 -Release: 1 +Release: 2 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/ @@ -27,7 +27,7 @@ Patch4: fix-MD5-manpage.patch Patch5: backport-add-NULL-pointer-check-when-ntpd-deletes-the-last-interface.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 @@ -64,6 +64,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" @@ -207,6 +209,12 @@ make check %{_mandir}/man8/*.8* %changelog +* Sat Aug 26 2023 chengyechun - 4.2.8p17-2 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:run the bootstrap script to prevent build failures + * Fri Jul 21 2023 chengyechun - 4.2.8p17-1 - Type:enhancement - ID: