- add use more macros (%%autosetup, %%make_build, %%make_install)

This commit is contained in:
Tomasz Kłoczko 2018-02-09 19:35:55 +00:00
parent d092b43f13
commit 9c7490ef37

View File

@ -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 <releng@fedoraproject.org> - 1.18.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild