Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
This commit is contained in:
parent
31298ce496
commit
aad2154a0d
@ -1,6 +1,6 @@
|
||||
Name: libmetalink
|
||||
Version: 0.1.3
|
||||
Release: 10%{?dist}
|
||||
Release: 11%{?dist}
|
||||
Summary: Metalink library written in C
|
||||
License: MIT
|
||||
URL: https://launchpad.net/libmetalink
|
||||
@ -25,14 +25,14 @@ Files needed for building applications with libmetalink.
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%check
|
||||
make check
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
%make_install
|
||||
find $RPM_BUILD_ROOT -name *.la -exec rm {} \;
|
||||
|
||||
%ldconfig_scriptlets
|
||||
@ -57,6 +57,10 @@ find $RPM_BUILD_ROOT -name *.la -exec rm {} \;
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 0.1.3-11
|
||||
- Use make macros
|
||||
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user