diff --git a/openal-soft.spec b/openal-soft.spec index cb378ef..7040546 100644 --- a/openal-soft.spec +++ b/openal-soft.spec @@ -80,17 +80,9 @@ install -Dpm644 alsoftrc.sample %{buildroot}%{_sysconfdir}/openal/alsoft.conf %{_libdir}/libopenal.so.* %dir %{_sysconfdir}/openal %config(noreplace) %{_sysconfdir}/openal/alsoft.conf -%dir %{_datatdir}/openal -%{_datatdir}/openal/alsoftrc.sample -%dir %{_datatdir}/openal/hrtf -%{_datatdir}/openal/hrtf/default-44100.mhr -%{_datatdir}/openal/hrtf/default-48000.mhr -%doc %{_datatdir}/openal/presets/presets.txt -%{_datatdir}/openal/presets/3D7.1.ambdec -%{_datatdir}/openal/presets/hexagon.ambdec -%{_datatdir}/openal/presets/itu5.1.ambdec -%{_datatdir}/openal/presets/rectangle.ambdec -%{_datatdir}/openal/presets/square.ambdec +%{_datatdir}/openal +%exclude %{_datatdir}/openal/alsoftrc.sample +%exclude %{_datatdir}/openal/presets/presets.txt %files devel %{_bindir}/bsincgen @@ -118,6 +110,9 @@ install -Dpm644 alsoftrc.sample %{buildroot}%{_sysconfdir}/openal/alsoft.conf - fix: add %%{_libdir}/cmake/OpenAL directory to devel - fix: s/_datarootdir/_datadir/ as this package does not uses datarootdir but datadir +- fix: add %%{_datatdir}/openal to main package as well and to %%exclude + %%{_datatdir}/openal/{alsoftrc.sample,presets/presets.txt} as those files + are not needed * Thu Feb 08 2018 Fedora Release Engineering - 1.18.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild