From 4408e89e7a975cc06c078853d47e1b496ce022f4 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Mon, 13 Jul 2020 21:18:59 +0000 Subject: [PATCH] Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- libogg.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libogg.spec b/libogg.spec index b1cb538..6d86122 100644 --- a/libogg.spec +++ b/libogg.spec @@ -47,11 +47,11 @@ Documentation for developing applications with libogg sed -i "s|-O20|$RPM_OPT_FLAGS|" configure sed -i "s|-ffast-math||" configure %configure --disable-static -make %{?_smp_mflags} +%make_build %install -make DESTDIR=$RPM_BUILD_ROOT install +%make_install rm -f $RPM_BUILD_ROOT%{_libdir}/*.la