From 9c7490ef37e0c7818b6bc9ca968e7179f4eab3b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Fri, 9 Feb 2018 19:35:55 +0000 Subject: [PATCH] - add use more macros (%%autosetup, %%make_build, %%make_install) --- openal-soft.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/openal-soft.spec b/openal-soft.spec index cbbc675..3a4fb3f 100644 --- a/openal-soft.spec +++ b/openal-soft.spec @@ -56,15 +56,15 @@ The %{name}-qt package contains alsoft-config, a Qt-based tool for configuring OpenAL features. %prep -%setup -q -%patch0 -p1 +%autosetup -p1 %build %cmake -DALSOFT_CPUEXT_NEON:BOOL=OFF . -make %{?_smp_mflags} +%make_build %install -make install DESTDIR=%{buildroot} +%make_install + find %{buildroot} -name '*.la' -exec rm -f {} ';' install -Dpm644 alsoftrc.sample %{buildroot}%{_sysconfdir}/openal/alsoft.conf @@ -111,6 +111,7 @@ install -Dpm644 alsoftrc.sample %{buildroot}%{_sysconfdir}/openal/alsoft.conf are not needed - removed Group fields (https://fedoraproject.org/wiki/Packaging:Guidelines#Tags_and_Sections) +- add use more macros (%%autosetup, %%make_build, %%make_install) * Thu Feb 08 2018 Fedora Release Engineering - 1.18.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild