Use %make_build and %make_install macros

i9ce
Benjamin A. Beasley 4 years ago
parent 6403be1436
commit ba5bd29c1e

@ -44,13 +44,11 @@ programs that use libIDL.
%build %build
%configure %configure
make %{?_smp_mflags} %make_build
%install %install
rm -rf $RPM_BUILD_ROOT %make_install
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_infodir}/dir rm -f $RPM_BUILD_ROOT%{_infodir}/dir
rm -f $RPM_BUILD_ROOT%{_libdir}/*a rm -f $RPM_BUILD_ROOT%{_libdir}/*a
@ -84,7 +82,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*a
- Rearrange whitespace - Rearrange whitespace
- Use HTTPS URLs - Use HTTPS URLs
- Make glib2-devel dependency from -devel subpackage arch-specific - 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 <releng@fedoraproject.org> - 0.8.14-23 * Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.14-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save