Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
This commit is contained in:
parent
9c81f01d35
commit
e198adc177
@ -6,7 +6,7 @@
|
||||
|
||||
Name: libtevent
|
||||
Version: 0.10.2
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: The tevent library
|
||||
License: LGPLv3+
|
||||
URL: http://tevent.samba.org/
|
||||
@ -68,15 +68,15 @@ zcat %{SOURCE0} | gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} -
|
||||
--bundled-libraries=NONE \
|
||||
--builtin-libraries=replace
|
||||
|
||||
make %{?_smp_mflags} V=1
|
||||
%make_build
|
||||
|
||||
doxygen doxy.config
|
||||
|
||||
%check
|
||||
make %{?_smp_mflags} check
|
||||
%make_build check
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
%make_install
|
||||
|
||||
# Install API docs
|
||||
rm -f doc/man/man3/todo*
|
||||
@ -102,6 +102,10 @@ cp -a doc/man/* $RPM_BUILD_ROOT/%{_mandir}
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%changelog
|
||||
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 0.10.2-4
|
||||
- Use make macros
|
||||
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
||||
|
||||
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.10.2-3
|
||||
- Rebuilt for Python 3.9
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user