From a21276aeadfd05ed5fa21c3983b204b8579c596a Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 14 Jul 2020 02:28:02 +0000 Subject: [PATCH] Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- parted.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/parted.spec b/parted.spec index a8aee83..b4d3e32 100644 --- a/parted.spec +++ b/parted.spec @@ -4,7 +4,7 @@ Summary: The GNU disk partition manipulation program Name: parted Version: 3.3 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv3+ URL: http://www.gnu.org/software/parted @@ -87,12 +87,12 @@ CFLAGS="$RPM_OPT_FLAGS -Wno-unused-but-set-variable"; export CFLAGS # Don't use rpath! %{__sed} -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool %{__sed} -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool -V=1 %{__make} %{?_smp_mflags} +%make_build %install %{__rm} -rf %{buildroot} -%{__make} install DESTDIR=%{buildroot} +%make_install # Remove components we do not ship %{__rm} -rf %{buildroot}%{_libdir}/*.la @@ -131,6 +131,10 @@ make check %changelog +* Tue Jul 14 2020 Tom Stellard - 3.3-4 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Fri Mar 06 2020 Brian C. Lane - 3.3-3 - Add chromeos_kernel partition flag for gpt disklabels - Add bls_boot partition flag for msdos and gpt disklabels