From 5e2a567e19ee30e5710ff8676dead368bff68356 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Mon, 13 Jul 2020 22:24:49 +0000 Subject: [PATCH] Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- libpipeline.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/libpipeline.spec b/libpipeline.spec index fffc57f..a836118 100644 --- a/libpipeline.spec +++ b/libpipeline.spec @@ -3,7 +3,7 @@ Summary: A pipeline manipulation library Name: libpipeline Version: 1.5.2 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv3+ URL: http://libpipeline.nongnu.org/ Source: http://download.savannah.gnu.org/releases/libpipeline/libpipeline-%{version}.tar.gz @@ -35,13 +35,13 @@ to develop programs that use libpipeline library. %build %{configure} -make %{?_smp_mflags} +%make_build %check make check %install -make install DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} INSTALL='install -p' +%make_install prefix=%{_prefix} rm $RPM_BUILD_ROOT/%{_libdir}/libpipeline.la %files @@ -57,6 +57,10 @@ rm $RPM_BUILD_ROOT/%{_libdir}/libpipeline.la %{_mandir}/man3/* %changelog +* Mon Jul 13 2020 Tom Stellard - 1.5.2-3 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Wed Jan 29 2020 Fedora Release Engineering - 1.5.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild