diff --git a/alsa-utils.changes b/alsa-utils.changes index a839b6e..d16e1cd 100644 --- a/alsa-utils.changes +++ b/alsa-utils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Apr 13 15:39:49 UTC 2013 - hrvoje.senjan@gmail.com + +- Added service_typo.patch, fixes alsa-restore service not starting + ------------------------------------------------------------------- Fri Apr 12 15:28:31 CEST 2013 - tiwai@suse.de diff --git a/alsa-utils.spec b/alsa-utils.spec index b210a24..e0aecba 100644 --- a/alsa-utils.spec +++ b/alsa-utils.spec @@ -57,6 +57,8 @@ Release: 0 Source: ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{package_version}.tar.bz2 Source1: 01beep.conf # Patch: alsa-utils-git-fixes.diff +# PATCH-FIX-OPENSUSE service_typo.patch -- Fixes the typo in systemd service +Patch0: service_typo.patch Patch99: alsa-utils-gettext-version-removal.diff Url: http://www.alsa-project.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -71,6 +73,7 @@ Sound Architecture. sed -i -e's/EXTRA_DIST= config.rpath /EXTRA_DIST=/' Makefile.am # rm -f po/Makefile* po/*.gmo po/*.pot po/*.header po/stamp-* # patch -p1 +%patch0 -p1 %if %suse_version < 1020 %patch99 -p1 %endif diff --git a/service_typo.patch b/service_typo.patch new file mode 100644 index 0000000..334612d --- /dev/null +++ b/service_typo.patch @@ -0,0 +1,11 @@ +diff -urNB orig.alsa-utils-1.0.27/alsactl/alsa-restore.service.in alsa-utils-1.0.27/alsactl/alsa-restore.service.in +--- orig.alsa-utils-1.0.27/alsactl/alsa-restore.service.in 2013-04-11 13:43:06.000000000 +0200 ++++ alsa-utils-1.0.27/alsactl/alsa-restore.service.in 2013-04-13 17:37:45.268316370 +0200 +@@ -12,6 +12,6 @@ + Conflicts=shutdown.target + + [Service] +-Type=oneshop ++Type=oneshot + ExecStart=-@sbindir@/alsactl restore + StandardOutput=syslog