Macroize %{_sysconfdir}

This commit is contained in:
Gwyn Ciesla 2019-08-20 14:00:51 -05:00
parent fed87f5be2
commit bfaf0a02cd

View File

@ -6,7 +6,7 @@
Name: alsa-plugins
Version: 1.1.9
Release: 2%{?dist}
Release: 3%{?dist}
Summary: The Advanced Linux Sound Architecture (ALSA) Plugins
# All packages are LGPLv2+ with the exception of samplerate which is GPLv2+
# pph plugin is BSD-like licensed
@ -138,8 +138,8 @@ make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
mv %{buildroot}/etc/alsa/conf.d/99-pulseaudio-default.conf.example \
%{buildroot}/etc/alsa/conf.d/99-pulseaudio-default.conf
mv %{buildroot}%{_sysconfdir}/alsa/conf.d/99-pulseaudio-default.conf.example \
%{buildroot}%{_sysconfdir}/alsa/conf.d/99-pulseaudio-default.conf
find %{buildroot} -name "*.la" -exec rm {} \;
@ -151,8 +151,8 @@ find %{buildroot} -name "*.la" -exec rm {} \;
%if 0%{?with_jack}
%files jack
%doc COPYING COPYING.GPL doc/README-jack
%dir /etc/alsa/conf.d
%config(noreplace) /etc/alsa/conf.d/50-jack.conf
%dir %{_sysconfdir}/alsa/conf.d
%config(noreplace) %{_sysconfdir}/alsa/conf.d/50-jack.conf
%dir %{_datadir}/alsa/alsa.conf.d
%{_datadir}/alsa/alsa.conf.d/50-jack.conf
%dir %{_libdir}/alsa-lib
@ -161,8 +161,8 @@ find %{buildroot} -name "*.la" -exec rm {} \;
%files oss
%doc COPYING COPYING.GPL doc/README-pcm-oss
%dir /etc/alsa/conf.d
%config(noreplace) /etc/alsa/conf.d/50-oss.conf
%dir %{_sysconfdir}/alsa/conf.d
%config(noreplace) %{_sysconfdir}/alsa/conf.d/50-oss.conf
%dir %{_datadir}/alsa/alsa.conf.d
%{_datadir}/alsa/alsa.conf.d/50-oss.conf
%dir %{_libdir}/alsa-lib
@ -175,16 +175,16 @@ find %{buildroot} -name "*.la" -exec rm {} \;
%{_libdir}/alsa-lib/libasound_module_pcm_pulse.so
%{_libdir}/alsa-lib/libasound_module_ctl_pulse.so
%{_libdir}/alsa-lib/libasound_module_conf_pulse.so
%dir /etc/alsa/conf.d
%config(noreplace) /etc/alsa/conf.d/50-pulseaudio.conf
%config(noreplace) /etc/alsa/conf.d/99-pulseaudio-default.conf
%dir %{_sysconfdir}/alsa/conf.d
%config(noreplace) %{_sysconfdir}/alsa/conf.d/50-pulseaudio.conf
%config(noreplace) %{_sysconfdir}/alsa/conf.d/99-pulseaudio-default.conf
%dir %{_datadir}/alsa/alsa.conf.d
%{_datadir}/alsa/alsa.conf.d/50-pulseaudio.conf
%files samplerate
%doc COPYING COPYING.GPL doc/samplerate.txt
%dir /etc/alsa/conf.d
%config(noreplace) /etc/alsa/conf.d/10-samplerate.conf
%dir %{_sysconfdir}/alsa/conf.d
%config(noreplace) %{_sysconfdir}/alsa/conf.d/10-samplerate.conf
%dir %{_datadir}/alsa/alsa.conf.d
%{_datadir}/alsa/alsa.conf.d/10-samplerate.conf
%dir %{_libdir}/alsa-lib
@ -196,8 +196,8 @@ find %{buildroot} -name "*.la" -exec rm {} \;
%files upmix
%doc COPYING COPYING.GPL doc/upmix.txt
%dir /etc/alsa/conf.d
%config(noreplace) /etc/alsa/conf.d/60-upmix.conf
%dir %{_sysconfdir}/alsa/conf.d
%config(noreplace) %{_sysconfdir}/alsa/conf.d/60-upmix.conf
%dir %{_datadir}/alsa/alsa.conf.d
%{_datadir}/alsa/alsa.conf.d/60-upmix.conf
%dir %{_libdir}/alsa-lib
@ -205,8 +205,8 @@ find %{buildroot} -name "*.la" -exec rm {} \;
%files vdownmix
%doc COPYING COPYING.GPL doc/vdownmix.txt
%dir /etc/alsa/conf.d
%config(noreplace) /etc/alsa/conf.d/60-vdownmix.conf
%dir %{_sysconfdir}/alsa/conf.d
%config(noreplace) %{_sysconfdir}/alsa/conf.d/60-vdownmix.conf
%dir %{_datadir}/alsa/alsa.conf.d
%{_datadir}/alsa/alsa.conf.d/60-vdownmix.conf
%dir %{_libdir}/alsa-lib
@ -214,8 +214,8 @@ find %{buildroot} -name "*.la" -exec rm {} \;
%files usbstream
%doc COPYING COPYING.GPL
%dir /etc/alsa/conf.d
%config(noreplace) /etc/alsa/conf.d/98-usb-stream.conf
%dir %{_sysconfdir}/alsa/conf.d
%config(noreplace) %{_sysconfdir}/alsa/conf.d/98-usb-stream.conf
%dir %{_datadir}/alsa/alsa.conf.d
%{_datadir}/alsa/alsa.conf.d/98-usb-stream.conf
%dir %{_libdir}/alsa-lib
@ -223,8 +223,8 @@ find %{buildroot} -name "*.la" -exec rm {} \;
%files arcamav
%doc COPYING COPYING.GPL doc/README-arcam-av
%dir /etc/alsa/conf.d
%config(noreplace) /etc/alsa/conf.d/50-arcam-av-ctl.conf
%dir %{_sysconfdir}/alsa/conf.d
%config(noreplace) %{_sysconfdir}/alsa/conf.d/50-arcam-av-ctl.conf
%dir %{_datadir}/alsa/alsa.conf.d
%{_datadir}/alsa/alsa.conf.d/50-arcam-av-ctl.conf
%dir %{_libdir}/alsa-lib
@ -232,9 +232,9 @@ find %{buildroot} -name "*.la" -exec rm {} \;
%files speex
%doc COPYING COPYING.GPL doc/speexdsp.txt doc/speexrate.txt
%dir /etc/alsa/conf.d
%config(noreplace) /etc/alsa/conf.d/10-speexrate.conf
%config(noreplace) /etc/alsa/conf.d/60-speex.conf
%dir %{_sysconfdir}/alsa/conf.d
%config(noreplace) %{_sysconfdir}/alsa/conf.d/10-speexrate.conf
%config(noreplace) %{_sysconfdir}/alsa/conf.d/60-speex.conf
%dir %{_datadir}/alsa/alsa.conf.d
%{_datadir}/alsa/alsa.conf.d/10-speexrate.conf
%{_datadir}/alsa/alsa.conf.d/60-speex.conf
@ -246,8 +246,8 @@ find %{buildroot} -name "*.la" -exec rm {} \;
%files maemo
%doc COPYING COPYING.GPL doc/README-maemo
%dir /etc/alsa/conf.d
%config(noreplace) /etc/alsa/conf.d/98-maemo.conf
%dir %{_sysconfdir}/alsa/conf.d
%config(noreplace) %{_sysconfdir}/alsa/conf.d/98-maemo.conf
%dir %{_datadir}/alsa/alsa.conf.d
%{_datadir}/alsa/alsa.conf.d/98-maemo.conf
%dir %{_libdir}/alsa-lib
@ -256,6 +256,9 @@ find %{buildroot} -name "*.la" -exec rm {} \;
%changelog
* Tue Aug 20 2019 Gwyn Ciesla <gwync@protonmail.com> - 1.1.9-3
- macroize %{_sysconfdir}.
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild