Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
This commit is contained in:
parent
4c1c387718
commit
eac2717052
@ -2,7 +2,7 @@
|
||||
|
||||
Name: libevent
|
||||
Version: 2.1.8
|
||||
Release: 8%{?dist}
|
||||
Release: 9%{?dist}
|
||||
Summary: Abstract asynchronous event notification library
|
||||
|
||||
# arc4random.c, which is used in build, is ISC. The rest is BSD.
|
||||
@ -61,7 +61,7 @@ pathfix.py -i %{__python3} -pn test/check-dumpevents.py \
|
||||
%build
|
||||
%configure \
|
||||
--disable-dependency-tracking --disable-static
|
||||
make %{?_smp_mflags} all
|
||||
%make_build all
|
||||
|
||||
%if ! 0%{?_module_build}
|
||||
# Create the docs
|
||||
@ -69,7 +69,7 @@ make doxygen
|
||||
%endif
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
%make_install
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
|
||||
# Fix multilib install of devel (bug #477685)
|
||||
@ -138,6 +138,10 @@ mkdir -p $RPM_BUILD_ROOT/%{develdocdir}/sample
|
||||
%doc %{develdocdir}/
|
||||
|
||||
%changelog
|
||||
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 2.1.8-9
|
||||
- Use make macros
|
||||
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.8-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user