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