From ba5bd29c1ea28375e32550cbc2ae3aeded138163 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 3 Feb 2021 12:00:58 -0500 Subject: [PATCH] Use %make_build and %make_install macros --- libIDL.spec | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/libIDL.spec b/libIDL.spec index 51e6308..d849624 100644 --- a/libIDL.spec +++ b/libIDL.spec @@ -44,13 +44,11 @@ programs that use libIDL. %build %configure -make %{?_smp_mflags} +%make_build %install -rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT - +%make_install rm -f $RPM_BUILD_ROOT%{_infodir}/dir rm -f $RPM_BUILD_ROOT%{_libdir}/*a @@ -84,7 +82,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*a - Rearrange whitespace - Use HTTPS URLs - Make glib2-devel dependency from -devel subpackage arch-specific -- Use %%autosetup macro +- Use %%autosetup, %%make_build, and %%make_install macros * Tue Jan 26 2021 Fedora Release Engineering - 0.8.14-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild