Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
This commit is contained in:
parent
b86d63d2be
commit
0da6444c5a
10
man-db.spec
10
man-db.spec
@ -4,7 +4,7 @@
|
||||
Summary: Tools for searching and reading man pages
|
||||
Name: man-db
|
||||
Version: 2.9.2
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
# GPLv2+ .. man-db
|
||||
# GPLv3+ .. gnulib
|
||||
License: GPLv2+ and GPLv3+
|
||||
@ -69,13 +69,13 @@ This package provides periodic update of man-db cache.
|
||||
--with-systemdsystemunitdir=no \
|
||||
--with-browser=elinks --with-lzip=lzip \
|
||||
--with-override-dir=overrides
|
||||
make CC="%{__cc} %{optflags}" %{?_smp_mflags} V=1
|
||||
%make_build CC="%{__cc} %{optflags}"
|
||||
|
||||
%check
|
||||
make check
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} INSTALL='install -p'
|
||||
%make_install prefix=%{_prefix}
|
||||
|
||||
# rename files for alternative usage
|
||||
for f in man apropos whatis; do
|
||||
@ -231,6 +231,10 @@ fi
|
||||
%config(noreplace) %{_sysconfdir}/cron.daily/man-db.cron
|
||||
|
||||
%changelog
|
||||
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 2.9.2-2
|
||||
- Use make macros
|
||||
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
||||
|
||||
* Tue Jun 02 2020 Nikola Forró <nforro@redhat.com> - 2.9.2-1
|
||||
- update to 2.9.2
|
||||
resolves #1842624
|
||||
|
Loading…
Reference in New Issue
Block a user