Hello community, here is the log from the commit of package alsa-utils for openSUSE:Factory checked in at 2019-06-12 13:06:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/alsa-utils (Old) and /work/SRC/openSUSE:Factory/.alsa-utils.new.4811 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "alsa-utils" Wed Jun 12 13:06:01 2019 rev:116 rq:709162 version:1.1.9 Changes: -------- --- /work/SRC/openSUSE:Factory/alsa-utils/alsa-utils.changes 2019-05-14 13:12:28.968660287 +0200 +++ /work/SRC/openSUSE:Factory/.alsa-utils.new.4811/alsa-utils.changes 2019-06-12 13:06:03.933189464 +0200 @@ -1,0 +2,12 @@ +Tue Jun 11 12:30:17 UTC 2019 - Dominique Leuenberger <[email protected]> + +- BuildRequire pkgconfig(systemd) instead of systemd: allow OBS to + shortcut the build queues by allowing usage of systemd-mini + +------------------------------------------------------------------- +Tue May 28 14:04:52 CEST 2019 - [email protected] + +- Add systemd service to load OSS and sequencer modules + (bsc#1136562) + +------------------------------------------------------------------- New: ---- load-sound-modules.sh sound-extra.service ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ alsa-utils.spec ++++++ --- /var/tmp/diff_new_pack.StUFmD/_old 2019-06-12 13:06:04.537189211 +0200 +++ /var/tmp/diff_new_pack.StUFmD/_new 2019-06-12 13:06:04.541189209 +0200 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -26,6 +26,8 @@ URL: http://www.alsa-project.org/ Source: ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{version}.tar.bz2 Source1: 01beep.conf +Source2: sound-extra.service +Source5: load-sound-modules.sh Patch101: alsa-utils-configure-version-revert.patch BuildRequires: alsa-devel BuildRequires: automake @@ -33,7 +35,7 @@ BuildRequires: libsamplerate-devel BuildRequires: ncurses-devel BuildRequires: pkgconfig -BuildRequires: systemd +BuildRequires: pkgconfig(systemd) BuildRequires: xmlto BuildRequires: pkgconfig(udev) Requires: alsa @@ -90,6 +92,23 @@ %find_lang %{name} --all-name ln -s alsa-restore.service %{buildroot}%{_unitdir}/alsasound.service mkdir -p %{buildroot}%{_localstatedir}/lib/alsa +# systemd unit files +install -c -m 0644 %{SOURCE2} %{buildroot}%{_unitdir} +ln -s ../sound-extra.service %{buildroot}%{_unitdir}/sound.target.wants +mkdir -p %{buildroot}%{_libexecdir}/systemd/scripts +install -c -m 0755 %{SOURCE5} %{buildroot}%{_libexecdir}/systemd/scripts + +%pre +%service_add_pre sound-extra.service + +%post +%service_add_post sound-extra.service + +%preun +%service_del_preun sound-extra.service + +%postun +%service_del_postun sound-extra.service %files -f %{name}.lang %license COPYING @@ -108,6 +127,7 @@ %{_udevdir} %{_unitdir}/*.service %{_unitdir}/sound.target.wants +%{_libexecdir}/systemd/scripts %{_localstatedir}/lib/alsa %files -n alsabat ++++++ load-sound-modules.sh ++++++ #!/bin/sh test -r /etc/sysconfig/sound && . /etc/sysconfig/sound if [ "$LOAD_OSS_EMUL_MODULES" = "yes" ]; then /sbin/modprobe -q snd-mixer-oss /sbin/modprobe -q snd-pcm-oss fi if [ "$LOAD_SEQUENCER" = "yes" ]; then /sbin/modprobe -q snd-seq fi if [ -r /proc/asound/seq/drivers ]; then OLDIFS="$IFS" IFS="," while read t x c; do /sbin/modprobe -q $t done < /proc/asound/seq/drivers IFS="$OLDIFS" fi if [ -d /proc/asound/seq ]; then if [ "$LOAD_OSS_SEQ_MODULE" = "yes" ]; then /sbin/modprobe -q snd-seq-oss fi fi exit 0 ++++++ sound-extra.service ++++++ [Unit] Description=Load extra kernel modules for sound stuff After=alsasound.service ConditionPathExists=/proc/asound [Service] Type=oneshot ExecStart=/usr/lib/systemd/scripts/load-sound-modules.sh
