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