From 719ba97691ed6c930a3732a7dd83119b9d839c25 Mon Sep 17 00:00:00 2001 From: chengyechun Date: Thu, 24 Nov 2022 10:50:52 +0800 Subject: [PATCH] run the bootstrap to prevent build failure --- ntp.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/ntp.spec b/ntp.spec index 06bdf06..d6a6020 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 @@ -66,6 +66,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" @@ -209,6 +211,12 @@ make check %{_mandir}/man8/*.8* %changelog +* Thu Nov 24 2022 chengyechun - 4.2.8p15-7 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:run the bootstrap script to prevent build failures + * Tue Oct 18 2022 chengyechun - 4.2.8p15-6 - Type:bugfix - ID:NA -- Gitee