diff --git a/libmtp.changes b/libmtp.changes index bd5f055..788ec19 100644 --- a/libmtp.changes +++ b/libmtp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 26 13:45:30 UTC 2015 - dmitry_r@opensuse.org + +- Split udev rules to separate package + ------------------------------------------------------------------- Sun Oct 4 15:14:12 UTC 2015 - meissner@suse.com diff --git a/libmtp.spec b/libmtp.spec index 51d2287..ef39d7e 100644 --- a/libmtp.spec +++ b/libmtp.spec @@ -44,9 +44,20 @@ authored by Microsoft. Common devices using this technology are Creative Zen, iRiver, Samsung and others. -%package -n %{name}%{sonum} +%package -n %{name}-udev +Summary: Udev rules for accessing MTP devices +Group: Hardware/Mobile +Requires: udev + +%description -n %{name}-udev +This package contains the udev rules that allow access to USB based media +players based on the MTP (Media Transfer Protocol) authored by +Microsoft. + +%package -n %{name}%{sonum} Summary: Library for accessing MTP Players Group: Productivity/Multimedia/Sound/Players +Requires: %{name}-udev >= %{version} %description -n %{name}%{sonum} This package contains the libraries that allow access to USB based media @@ -106,6 +117,9 @@ rm -rf %{buildroot}/%{_libdir}/*.la #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 + +%files -n %{name}-udev +%defattr(-, root, root) %{_udevdir} %{_udevrulesdir}