Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2014-02-15 17:16:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and      /work/SRC/openSUSE:Factory/.alsa.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "alsa"

Changes:
--------
--- /work/SRC/openSUSE:Factory/alsa/alsa.changes        2014-02-07 
13:48:55.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2014-02-15 
17:16:19.000000000 +0100
@@ -1,0 +2,14 @@
+Fri Feb 14 12:01:25 CET 2014 - ti...@suse.de
+
+- Remove obsolete init scripts for SLE12 and later (bnc#863506);
+  note that you may get errors at upgrading the package due to the
+  old postun still accessing /etc/init.d/* files.  Nevertheless
+  they are obliged to be removed.  If you see such errors, don't
+  report to Bugzilla.  Relax, enjoy Olympic games instead.
+
+-------------------------------------------------------------------
+Fri Feb 14 11:31:09 CET 2014 - ti...@suse.de
+
+- Fix build for SLE11 due to missing udev rules dir
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ alsa.spec ++++++
--- /var/tmp/diff_new_pack.MWfTdb/_old  2014-02-15 17:16:20.000000000 +0100
+++ /var/tmp/diff_new_pack.MWfTdb/_new  2014-02-15 17:16:20.000000000 +0100
@@ -21,6 +21,8 @@
 BuildRequires:  libtool
 %if %suse_version > 1200
 BuildRequires:  libudev-devel
+%else
+BuildRequires:  udev
 %endif
 BuildRequires:  pkg-config
 %define package_version        1.0.27.2
@@ -202,6 +204,7 @@
 mkdir -p $RPM_BUILD_ROOT/usr/lib
 install -c -m 0644 %{SOURCE31} $RPM_BUILD_ROOT/usr/lib
 install -c -m 0644 %{SOURCE32} $RPM_BUILD_ROOT/usr/lib
+%if %suse_version <= 1310
 #
 # install init scripts
 #
@@ -215,6 +218,7 @@
 ln -s ../../etc/init.d/alsasound $RPM_BUILD_ROOT%{_sbindir}/rcalsasound
 rm -f $RPM_BUILD_ROOT%{_sbindir}/rcjoystick
 ln -s ../../etc/init.d/joystick $RPM_BUILD_ROOT%{_sbindir}/rcjoystick
+%endif
 #
 # udev rules (only for non-systemd)
 #
@@ -238,9 +242,10 @@
 #
 mkdir -p -m 755 $RPM_BUILD_ROOT/var/adm/fillup-templates
 mkdir -p -m 755 $RPM_BUILD_ROOT/etc/sysconfig
-for i in sound joystick; do
-  install -m 644 $RPM_SOURCE_DIR/sysconfig.$i 
$RPM_BUILD_ROOT/var/adm/fillup-templates
-done
+install -m 644 $RPM_SOURCE_DIR/sysconfig.sound 
$RPM_BUILD_ROOT/var/adm/fillup-templates
+%if %suse_version <= 1310
+install -m 644 $RPM_SOURCE_DIR/sysconfig.joystick 
$RPM_BUILD_ROOT/var/adm/fillup-templates
+%endif
 #
 # documents
 #
@@ -253,10 +258,15 @@
 install -c -m 0755 %{SOURCE33} $RPM_BUILD_ROOT%{_sbindir}
 
 %post
+%if %suse_version > 1310
+%{fillup_only -ny sound}
+%else
 %{fillup_and_insserv -ny sound alsasound}
 %{fillup_and_insserv -n joystick joystick}
+%endif
 exit 0
 
+%if %suse_version > 1310
 %preun
 %stop_on_removal alsasound joystick
 exit 0
@@ -265,6 +275,7 @@
 %restart_on_update alsasound joystick
 %insserv_cleanup
 exit 0
+%endif
 
 %post -n libasound2 -p /sbin/ldconfig
 
@@ -273,7 +284,9 @@
 %files
 %defattr(-, root, root)
 %doc %{_docdir}/%{name}
+%if %suse_version < 1310
 /etc/init.d/*
+%endif
 %if %suse_version > 1220
 /etc/modprobe.d
 /sbin/*




-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to