From 8ea7bd2c9aa2851d19ef7a4b3c2fbdfdb4f82dfa Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Mon, 13 Jul 2020 18:57:51 +0000 Subject: [PATCH] Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- ctags.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/ctags.spec b/ctags.spec index cb9b8ac..c1f923f 100644 --- a/ctags.spec +++ b/ctags.spec @@ -1,7 +1,7 @@ Summary: A C programming language indexing and/or cross-reference tool Name: ctags Version: 5.8 -Release: 28%{?dist} +Release: 29%{?dist} License: GPLv2+ and LGPLv2+ and Public Domain URL: http://ctags.sourceforge.net/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz @@ -57,12 +57,12 @@ Note: some command line options is not compatible with GNU etags. %build %configure -make %{?_smp_mflags} +%make_build %install rm -rf %{buildroot} -make DESTDIR=%{buildroot} install +%make_install pushd %{buildroot}%{_bindir} ln -s ctags etags.ctags @@ -91,6 +91,10 @@ popd %{_mandir}/man1/etags.%{name}.1* %changelog +* Mon Jul 13 2020 Tom Stellard - 5.8-29 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Tue Jan 28 2020 Fedora Release Engineering - 5.8-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild