From 26ef0d15b0dd7a74644af97652780a1646a1e1d3 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Mon, 13 Jul 2020 18:49:38 +0000 Subject: [PATCH] use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- chrony.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/chrony.spec b/chrony.spec index 520043d..3fa3af9 100644 --- a/chrony.spec +++ b/chrony.spec @@ -6,7 +6,7 @@ Name: chrony Version: 4.0 -Release: 0.3.pre2%{?dist} +Release: 0.4.pre2%{?dist} Summary: An NTP client/server License: GPLv2 @@ -103,10 +103,10 @@ mv clknetsim-%{clknetsim_ver}* test/simulation/clknetsim --with-user=chrony \ --with-hwclockfile=%{_sysconfdir}/adjtime \ --with-sendmail=%{_sbindir}/sendmail -make %{?_smp_mflags} +%make_build %install -make install DESTDIR=$RPM_BUILD_ROOT +%make_install rm -rf $RPM_BUILD_ROOT%{_docdir} @@ -150,7 +150,7 @@ echo 'chronyd.service' > \ %check # set random seed to get deterministic results export CLKNETSIM_RANDOM_SEED=24505 -make %{?_smp_mflags} -C test/simulation/clknetsim +%make_build -C test/simulation/clknetsim make quickcheck %pre @@ -201,6 +201,9 @@ fi %dir %attr(-,chrony,chrony) %{_localstatedir}/log/chrony %changelog +* Mon Jul 13 2020 Tom Stellard 4.0-0.4.pre2 +- use make macros + * Mon May 04 2020 Miroslav Lichvar 4.0-0.3.pre2 - rebuild for new nettle