From ed2830a9ca891cb86278a048cbcc7883295b18c7 Mon Sep 17 00:00:00 2001 From: Jan Synacek Date: Mon, 24 Aug 2020 13:00:11 +0200 Subject: [PATCH] Use make macros --- sgpio.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/sgpio.spec b/sgpio.spec index 12798aa..0c3fe82 100644 --- a/sgpio.spec +++ b/sgpio.spec @@ -1,7 +1,7 @@ Summary: SGPIO captive backplane tool Name: sgpio Version: 1.2.0.10 -Release: 26%{?dist} +Release: 27%{?dist} License: GPLv2+ URL: http://sources.redhat.com/lvm2/wiki/DMRAID_Eventing Source: sgpio-1.2-0.10-src.tar.gz @@ -25,10 +25,10 @@ chmod a-x * %build #@@@ workaround for #474755 - remove with next update make clean -make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" +%make_build CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" %install -make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT SBIN_DIR=$RPM_BUILD_ROOT%{_sbindir} MANDIR=$RPM_BUILD_ROOT%{_mandir} +%make_install SBIN_DIR=$RPM_BUILD_ROOT%{_sbindir} MANDIR=$RPM_BUILD_ROOT%{_mandir} %files %doc README @@ -36,6 +36,10 @@ make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT SBIN_DIR=$RPM_BUI %{_mandir}/man1/sgpio.* %changelog +* Mon Aug 24 2020 Jan Synáček - 1.2.0.10-27 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Wed Jul 29 2020 Fedora Release Engineering - 1.2.0.10-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild