From 147658fe0c21f520d97b661b6bcb9b5a4ceace52 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Mon, 13 Jul 2020 19:31:40 +0000 Subject: [PATCH] Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- flac.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flac.spec b/flac.spec index 1d928f9..c1ae86a 100644 --- a/flac.spec +++ b/flac.spec @@ -92,10 +92,10 @@ export CFLAGS="%{optflags} -funroll-loops" --disable-silent-rules \ --disable-thorough-tests -make %{?_smp_mflags} +%make_build %install -make install DESTDIR=%{buildroot} +%make_install %if %{with_xmms} desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE1}