From 69fb2d6abdf476e8bb7872555c01ff0f324dd226 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Mon, 13 Jul 2020 19:32:11 +0000 Subject: [PATCH] Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- flex.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/flex.spec b/flex.spec index 3a6f25c..9f43cc3 100644 --- a/flex.spec +++ b/flex.spec @@ -3,7 +3,7 @@ Summary: A tool for creating scanners (text pattern recognizers) Name: flex Version: 2.6.4 -Release: 4%{?dist} +Release: 5%{?dist} # parse.c and parse.h are under GPLv3+ with exception which allows # relicensing. Since flex is shipped under BDS-style license, # let's assume that the relicensing was done. @@ -59,11 +59,11 @@ plain text and PDF formats. %build autoreconf -i %configure --docdir=%{_pkgdocdir} CFLAGS="-fPIC $RPM_OPT_FLAGS" -make %{?_smp_mflags} +%make_build %install rm -rf $RPM_BUILD_ROOT -make DESTDIR=$RPM_BUILD_ROOT install +%make_install rm -f $RPM_BUILD_ROOT/%{_infodir}/dir rm -f $RPM_BUILD_ROOT/%{_pkgdocdir}/{README.cvs,TODO} # For now, excluding the new .la and .so files as we haven't had @@ -110,6 +110,10 @@ echo ============END TESTING=========== %{_pkgdocdir} %changelog +* Mon Jul 13 2020 Tom Stellard - 2.6.4-5 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Tue Jan 28 2020 Fedora Release Engineering - 2.6.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild