Hello community,

here is the log from the commit of package libmtp for openSUSE:Factory checked 
in at 2012-11-05 14:54:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libmtp (Old)
 and      /work/SRC/openSUSE:Factory/.libmtp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libmtp", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libmtp/libmtp.changes    2012-09-25 
10:40:46.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libmtp.new/libmtp.changes       2012-11-05 
14:55:01.000000000 +0100
@@ -1,0 +2,5 @@
+Sun Nov  4 18:57:19 UTC 2012 - [email protected]
+
+- mtp-probe no longer working in factory, wrong udev dir. 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ libmtp.spec ++++++
--- /var/tmp/diff_new_pack.0ESSDE/_old  2012-11-05 14:55:07.000000000 +0100
+++ /var/tmp/diff_new_pack.0ESSDE/_new  2012-11-05 14:55:07.000000000 +0100
@@ -22,6 +22,7 @@
 BuildRequires:  libgcrypt-devel
 BuildRequires:  libusb-1_0-devel
 BuildRequires:  pkg-config
+BuildRequires:  pkgconfig(udev)
 Summary:        Commandline utilities for access to MTP Players
 License:        LGPL-2.1+
 Group:          Productivity/Multimedia/Sound/Players
@@ -30,7 +31,8 @@
 %define sonum   9
 Source0:        
http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-
+%define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d
+%define _udevdir %(pkg-config --variable=udevdir udev)
 %description
 This package contains binaries and documentation that allow access to
 USB based media players based on the MTP (Media Transfer Protocol)
@@ -75,7 +77,7 @@
 %setup -q
 
 %build
-%configure --disable-static --enable-doxygen
+%configure --with-udev=%{_udevdir} --disable-static --enable-doxygen
 make %{?_smp_mflags}
 
 %install
@@ -101,10 +103,8 @@
 #dir /usr/share/hal/fdi/information
 #dir /usr/share/hal/fdi/information/20thirdparty/
 #usr/share/hal/fdi/information/20thirdparty/10-usb-music-players-libmtp.fdi
-%dir /lib/udev
-/lib/udev/mtp-probe
-%dir /lib/udev/rules.d
-%config /lib/udev/rules.d/69-libmtp.rules
+%{_udevdir}/mtp-probe
+%{_udevrulesdir}/69-libmtp.rules
 
 %files devel
 %defattr(-, root, root)

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

Reply via email to