Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
This commit is contained in:
parent
bcd0dbcad6
commit
147e0a6b27
@ -3,7 +3,7 @@
|
|||||||
Summary: A library that performs asynchronous DNS operations
|
Summary: A library that performs asynchronous DNS operations
|
||||||
Name: c-ares
|
Name: c-ares
|
||||||
Version: 1.16.1
|
Version: 1.16.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://c-ares.haxx.se/
|
URL: http://c-ares.haxx.se/
|
||||||
Source0: http://c-ares.haxx.se/download/%{name}-%{version}.tar.gz
|
Source0: http://c-ares.haxx.se/download/%{name}-%{version}.tar.gz
|
||||||
@ -61,7 +61,7 @@ autoreconf -if
|
|||||||
mkdir -p %{buildroot}%{_mandir}/man3
|
mkdir -p %{buildroot}%{_mandir}/man3
|
||||||
cp -a ares_*.3 %{buildroot}%{_mandir}/man3/
|
cp -a ares_*.3 %{buildroot}%{_mandir}/man3/
|
||||||
%else
|
%else
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
%make_install
|
||||||
rm -f $RPM_BUILD_ROOT/%{_libdir}/libcares.la
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/libcares.la
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -86,6 +86,10 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/libcares.la
|
|||||||
%{_mandir}/man3/ares_*
|
%{_mandir}/man3/ares_*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 1.16.1-2
|
||||||
|
- Use make macros
|
||||||
|
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
||||||
|
|
||||||
* Mon May 11 2020 Tom Callaway <spot@fedoraproject.org> - 1.16.1-1
|
* Mon May 11 2020 Tom Callaway <spot@fedoraproject.org> - 1.16.1-1
|
||||||
- update to 1.16.1
|
- update to 1.16.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user