Accepting request 223721 from multimedia:libs

- 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/request/show/223721
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alsa?expand=0&rev=145
This commit is contained in:
Tomáš Chvátal 2014-02-25 15:41:13 +00:00 committed by Git OBS Bridge
commit f16f893a8b
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