- 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
This commit is contained in:
Takashi Iwai 2014-02-24 15:47:04 +00:00 committed by Git OBS Bridge
parent 07a80db8ef
commit 6673f5fe6d
2 changed files with 11 additions and 3 deletions

View File

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

View File

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