Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2014-02-07 13:48:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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        2013-11-28 
06:54:49.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2014-02-07 
13:48:55.000000000 +0100
@@ -1,0 +2,6 @@
+Thu Feb  6 11:02:34 CET 2014 - [email protected]
+
+- Enable runtime PM for HD-audio devices (FATE#315523);
+  install 42-hd-audio-pm.rules udev file
+
+-------------------------------------------------------------------

New:
----
  42-hd-audio-pm.rules

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

Other differences:
------------------
++++++ alsa.spec ++++++
--- /var/tmp/diff_new_pack.sltGDQ/_old  2014-02-07 13:48:56.000000000 +0100
+++ /var/tmp/diff_new_pack.sltGDQ/_new  2014-02-07 13:48:56.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package alsa
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,6 +19,9 @@
 Name:           alsa
 BuildRequires:  doxygen
 BuildRequires:  libtool
+%if %suse_version > 1200
+BuildRequires:  libudev-devel
+%endif
 BuildRequires:  pkg-config
 %define package_version        1.0.27.2
 Requires:       alsa-utils
@@ -37,6 +40,7 @@
 Source:         
ftp://ftp.alsa-project.org/pub/lib/alsa-lib-%{package_version}.tar.bz2
 Source2:        baselibs.conf
 Source8:        40-alsa.rules
+Source9:        42-hd-audio-pm.rules
 Source11:       alsasound
 Source12:       sysconfig.sound
 Source13:       joystick
@@ -77,6 +81,11 @@
 Patch99:        alsa-lib-doxygen-avoid-crash-for-11.3.diff
 Url:            http://www.alsa-project.org/
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+%if %suse_version > 1200
+%define _udevdir %(pkg-config --variable=udevdir udev)
+%else
+%define _udevdir /lib/udev
+%endif
 
 %description
 ALSA stands for Advanced Linux Sound Architecture.  It supports many
@@ -209,10 +218,11 @@
 #
 # udev rules (only for non-systemd)
 #
+mkdir -p $RPM_BUILD_ROOT%{_udevdir}/rules.d
 %if %suse_version < 1140
-mkdir -p $RPM_BUILD_ROOT/etc/udev/rules.d
-install -c -m 0644 %{SOURCE8} $RPM_BUILD_ROOT/etc/udev/rules.d
+install -c -m 0644 %{S:8} $RPM_BUILD_ROOT%{_udevdir}/rules.d
 %endif
+install -c -m 0644 %{S:9} $RPM_BUILD_ROOT%{_udevdir}/rules.d
 #
 # modprobe config and the module install script for loading OSS-emulation
 # and sequencer modules automatically
@@ -273,9 +283,7 @@
 /usr/lib/all_notes_off.*
 %{_datadir}/sounds/alsa
 /var/adm/fillup-templates/*
-%if %suse_version < 1140
-/etc/udev
-%endif
+%{_udevdir}/rules.d/*
 
 %files devel
 %defattr(-, root, root)

++++++ 42-hd-audio-pm.rules ++++++
# do not edit this file, it will be overwritten on update
#
# Enable autosuspend for HD-audio devices

ACTION=="add", SUBSYSTEM=="pci", ATTR{class}=="0x040300", 
TEST=="power/control", ATTR{power/control}="auto"



-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to