diff --git a/libgpod.spec b/libgpod.spec index 0cefcf9..f20c4d5 100644 --- a/libgpod.spec +++ b/libgpod.spec @@ -40,7 +40,8 @@ BuildRequires: python-mutagen BuildRequires: sg3_utils-devel BuildRequires: sqlite-devel BuildRequires: swig -Requires: udev +Requires: udev >= 176 +Conflicts: filesystem < 3 %description Libgpod is a library to access the contents of an iPod. It supports playlists, @@ -126,7 +127,9 @@ chmod -x bindings/python/examples/*.py %build -%configure --without-hal --enable-udev --with-temp-mount-dir=%{_localstatedir}/run/%{name} +%configure --without-hal --enable-udev \ + --with-udev-dir=%{_prefix}/lib/udev \ + --with-temp-mount-dir=%{_localstatedir}/run/%{name} make %{?_smp_mflags} @@ -173,9 +176,9 @@ rm -rf %{buildroot} %{_bindir}/* %{_libdir}/*.so.* %dir %{_localstatedir}/run/%{name} -/lib/udev/iphone-set-info -/lib/udev/ipod-set-info -/lib/udev/rules.d/*.rules +%{_prefix}/lib/udev/iphone-set-info +%{_prefix}/lib/udev/ipod-set-info +%{_prefix}/lib/udev/rules.d/*.rules %dir %{_libdir}/libgpod/ %files devel