Accepting request 164137 from multimedia:libs

- Replace the previous fix with the upstream patch (forwarded request 164136 from tiwai)

OBS-URL: https://build.opensuse.org/request/show/164137
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alsa-utils?expand=0&rev=76
This commit is contained in:
Stephan Kulow 2013-04-16 04:43:00 +00:00 committed by Git OBS Bridge
commit fcb54c35ca
4 changed files with 35 additions and 14 deletions

View File

@ -0,0 +1,25 @@
From 3616b1fe3ca603832b2f88abeb722cba2f0dde7e Mon Sep 17 00:00:00 2001
From: Takashi Iwai <tiwai@suse.de>
Date: Mon, 15 Apr 2013 11:20:41 +0200
Subject: [PATCH] alsactl: Fix a typo in systemd alsa-restore.service
Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
alsactl/alsa-restore.service.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/alsactl/alsa-restore.service.in b/alsactl/alsa-restore.service.in
index ab3c30d..245a439 100644
--- a/alsactl/alsa-restore.service.in
+++ b/alsactl/alsa-restore.service.in
@@ -12,6 +12,6 @@ Before=shutdown.target
Conflicts=shutdown.target
[Service]
-Type=oneshop
+Type=oneshot
ExecStart=-@sbindir@/alsactl restore
StandardOutput=syslog
--
1.8.2.1

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Apr 15 11:26:41 CEST 2013 - tiwai@suse.de
- Replace the previous fix with the upstream patch
-------------------------------------------------------------------
Sat Apr 13 15:39:49 UTC 2013 - hrvoje.senjan@gmail.com

View File

@ -57,8 +57,9 @@ 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
# upstream fix patches
Patch1: 0001-alsactl-Fix-a-typo-in-systemd-alsa-restore.service.patch
#
Patch99: alsa-utils-gettext-version-removal.diff
Url: http://www.alsa-project.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -73,7 +74,8 @@ 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
%patch1 -p1
#
%if %suse_version < 1020
%patch99 -p1
%endif

View File

@ -1,11 +0,0 @@
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