From c5ed023df05665ab6bb2b0790f807af75a91b724 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 14 Jul 2020 16:36:56 +0000 Subject: [PATCH] Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- libnumbertext.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/libnumbertext.spec b/libnumbertext.spec index 66ed06e..52d92e9 100644 --- a/libnumbertext.spec +++ b/libnumbertext.spec @@ -1,6 +1,6 @@ Name: libnumbertext Version: 1.0.5 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Number to number name and money text conversion library #The entire source code is dual license LGPLv3+ or BSD, except for @@ -28,14 +28,14 @@ Includes and definitions for developing with libnumbertext %build autoreconf -v --install --force %configure --disable-silent-rules --disable-static --disable-werror --with-pic -make %{?_smp_mflags} +%make_build %check make check %install rm -rf $RPM_BUILD_ROOT -make DESTDIR=$RPM_BUILD_ROOT install +%make_install rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la %ldconfig_scriptlets @@ -53,6 +53,10 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la %{_libdir}/*.so %changelog +* Tue Jul 14 2020 Tom Stellard - 1.0.5-5 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Wed Jan 29 2020 Fedora Release Engineering - 1.0.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild