From 28bb1bb597eeb96948037e8927a51586ef768b40 Mon Sep 17 00:00:00 2001 From: Tomas Korbar Date: Thu, 13 Aug 2020 11:57:13 +0200 Subject: [PATCH] Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- libutempter.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libutempter.spec b/libutempter.spec index 406371a..d4e1f91 100644 --- a/libutempter.spec +++ b/libutempter.spec @@ -3,7 +3,7 @@ Summary: A privileged helper for utmp/wtmp updates Name: libutempter Version: 1.2.1 -Release: 2%{?dist} +Release: 3%{?dist} License: LGPLv2+ URL: ftp://ftp.altlinux.org/pub/people/ldv/utempter @@ -35,7 +35,7 @@ make CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" \ libdir="%{_libdir}" libexecdir="%{_libexecdir}" %install -make install DESTDIR="$RPM_BUILD_ROOT" libdir="%{_libdir}" libexecdir="%{_libexecdir}" +%make_install libdir="%{_libdir}" libexecdir="%{_libexecdir}" rm -f $RPM_BUILD_ROOT%{_libdir}/*.a @@ -61,6 +61,10 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.a %{_mandir}/man3/* %changelog +* Thu Aug 13 2020 Tomas Korbar - 1.2.1-3 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Tue Jul 28 2020 Fedora Release Engineering - 1.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild