From 04e7ff631d86b6ffc9bbde27e5343fa7620922dd Mon Sep 17 00:00:00 2001 From: Jan Friesse Date: Wed, 22 Jul 2020 12:23:10 +0200 Subject: [PATCH] Use make macros Signed-off-by: Jan Friesse --- spausedd.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/spausedd.spec b/spausedd.spec index cfa4979..bcd7bd5 100644 --- a/spausedd.spec +++ b/spausedd.spec @@ -3,7 +3,7 @@ Name: spausedd Summary: Utility to detect and log scheduler pause Version: 20200323 -Release: 1%{?dist} +Release: 2%{?dist} License: ISC URL: https://github.com/jfriesse/spausedd Source0: https://github.com/jfriesse/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz @@ -31,16 +31,15 @@ Utility to detect and log scheduler pause %build %set_build_flags -make \ +%make_build \ %if %{defined use_vmguestlib} WITH_VMGUESTLIB=1 \ %else WITH_VMGUESTLIB=0 \ %endif - %{?_smp_mflags} %install -make DESTDIR="%{buildroot}" PREFIX="%{_prefix}" install +%make_install PREFIX="%{_prefix}" mkdir -p %{buildroot}/%{_unitdir} install -m 644 -p init/%{name}.service %{buildroot}/%{_unitdir} @@ -64,6 +63,10 @@ install -m 644 -p init/%{name}.service %{buildroot}/%{_unitdir} %systemd_postun spausedd.service %changelog +* Wed Jul 22 2020 Jan Friesse - 20200323-2 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Mon Mar 23 2020 Jan Friesse - 20200323-1 - Enhance man page - Add CI tests