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