diff --git a/pulseaudio.changes b/pulseaudio.changes index d9a1fdf..53d6429 100644 --- a/pulseaudio.changes +++ b/pulseaudio.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Nov 4 00:58:52 UTC 2012 - crrodriguez@opensuse.org + +- Place udev rules in the proper place + ------------------------------------------------------------------- Tue Oct 16 12:12:54 UTC 2012 - coolo@suse.com diff --git a/pulseaudio.spec b/pulseaudio.spec index e2a5811..812a301 100644 --- a/pulseaudio.spec +++ b/pulseaudio.spec @@ -21,6 +21,7 @@ Version: 2.1 Release: 0 %define drvver 2.1 %define soname 0 +%define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d Summary: A Networked Sound Server License: GPL-2.0+ and LGPL-2.1+ Group: System/Sound Daemons @@ -273,7 +274,8 @@ export SUSE_ASNEEDED=0 --with-system-user=pulse \ --with-system-group=pulse \ --with-access-group=pulse-access \ - --disable-hal + --disable-hal \ + --with-udev-rules-dir=%{_udevrulesdir} make %{?_smp_mflags} V=1 make doxygen @@ -419,7 +421,7 @@ setup-pulseaudio --auto > /dev/null %{_libdir}/pulse-%{drvver}/modules/module-virtual-source.so %{_libdir}/pulse-%{drvver}/modules/module-virtual-surround-sink.so %{_libdir}/pulse-%{drvver}/modules/module-volume-restore.so -/lib/udev/rules.d/90-pulseaudio.rules +%{_udevrulesdir}/90-pulseaudio.rules %doc %{_mandir}/man1/pulseaudio.1* %doc %{_mandir}/man5/default.pa.5* %doc %{_mandir}/man5/pulse-client.conf.5*