From 6673f5fe6d845ddf60a564431940fded27512f3bf74a92f060280ad0c8b25c65 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Mon, 24 Feb 2014 15:47:04 +0000 Subject: [PATCH] - Fix missing /etc/sysconfig/sound due to the previous change (bnc#865356) - Fix the superfluous insserv calls due to the wrong suse_version checks (bnc#863506) OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa?expand=0&rev=150 --- alsa.changes | 8 ++++++++ alsa.spec | 6 +++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/alsa.changes b/alsa.changes index e9e3b4b..cf01890 100644 --- a/alsa.changes +++ b/alsa.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Feb 24 16:37:33 CET 2014 - tiwai@suse.de + +- Fix missing /etc/sysconfig/sound due to the previous change + (bnc#865356) +- Fix the superfluous insserv calls due to the wrong suse_version + checks (bnc#863506) + ------------------------------------------------------------------- Fri Feb 14 12:01:25 CET 2014 - tiwai@suse.de diff --git a/alsa.spec b/alsa.spec index 7916b60..fb76898 100644 --- a/alsa.spec +++ b/alsa.spec @@ -259,14 +259,14 @@ install -c -m 0755 %{SOURCE33} $RPM_BUILD_ROOT%{_sbindir} %post %if %suse_version > 1310 -%{fillup_only -ny sound} +%{fillup_only -n sound} %else %{fillup_and_insserv -ny sound alsasound} %{fillup_and_insserv -n joystick joystick} %endif exit 0 -%if %suse_version > 1310 +%if %suse_version <= 1310 %preun %stop_on_removal alsasound joystick exit 0 @@ -284,7 +284,7 @@ exit 0 %files %defattr(-, root, root) %doc %{_docdir}/%{name} -%if %suse_version < 1310 +%if %suse_version <= 1310 /etc/init.d/* %endif %if %suse_version > 1220