From 6869b51de8f6d0a9c0d73bdd48ceb42bffdb6e3c Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Tue, 6 Sep 2022 09:03:02 +0200 Subject: [PATCH] units.spec: use %make_build and %make_install RPM macros No change in behavior expected with this commit. --- units.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/units.spec b/units.spec index 85e66b7..480dcfe 100644 --- a/units.spec +++ b/units.spec @@ -1,7 +1,7 @@ Summary: A utility for converting amounts from one unit to another Name: units Version: 2.22 -Release: 1%{?dist} +Release: 2%{?dist} Source: https://ftp.gnu.org/gnu/units/%{name}-%{version}.tar.gz URL: https://www.gnu.org/software/units/units.html License: GPLv3+ @@ -32,10 +32,10 @@ autoreconf -fiv %build %configure -make %{?_smp_mflags} +%make_build %install -make install DESTDIR=%{buildroot} +%make_install # remove %%{buildroot} from the target of an absolute symlink ln -fsv %{_sharedstatedir}/units/currency.units %{buildroot}%{_datadir}/units @@ -58,6 +58,9 @@ make check %{_mandir}/man1/* %changelog +* Tue Sep 06 2022 Kamil Dudka - 2.22-2 +- use %%make_build and %%make_install RPM macros + * Tue Sep 06 2022 Kamil Dudka - 2.22-1 - new upstream release