From 0da6444c5ab0b9eff9320b233cbb487a425540b6 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Mon, 13 Jul 2020 22:55:25 +0000 Subject: [PATCH] Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- man-db.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/man-db.spec b/man-db.spec index 11caf66..206f8fd 100644 --- a/man-db.spec +++ b/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 - 2.9.2-2 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Tue Jun 02 2020 Nikola Forró - 2.9.2-1 - update to 2.9.2 resolves #1842624