SHA256
1
0
forked from pool/alsa-utils

Accepting request 163891 from home:sumski:branches:multimedia:libs

- Added service_typo.patch, fixes alsa-restore service not starting

OBS-URL: https://build.opensuse.org/request/show/163891
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa-utils?expand=0&rev=72
This commit is contained in:
Dominique Leuenberger 2013-04-13 17:55:20 +00:00 committed by Git OBS Bridge
parent 40fd19911f
commit 69a68361b7
3 changed files with 19 additions and 0 deletions

View File

@ -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

View File

@ -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

11
service_typo.patch Normal file
View File

@ -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