packages: libmtp/libmtp.spec, libmtp/libmtp-udev.rules (REMOVED) - use udev...
glen
glen at pld-linux.org
Mon Mar 8 19:21:17 CET 2010
Author: glen Date: Mon Mar 8 18:21:17 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- use udev rules from upstream tarball (more complete and includes ids in our version)
---- Files affected:
packages/libmtp:
libmtp.spec (1.32 -> 1.33) , libmtp-udev.rules (1.3 -> NONE) (REMOVED)
---- Diffs:
================================================================
Index: packages/libmtp/libmtp.spec
diff -u packages/libmtp/libmtp.spec:1.32 packages/libmtp/libmtp.spec:1.33
--- packages/libmtp/libmtp.spec:1.32 Mon Mar 8 19:07:55 2010
+++ packages/libmtp/libmtp.spec Mon Mar 8 19:21:12 2010
@@ -1,6 +1,6 @@
# $Revision$, $Date$
-# TODO:
-# - check udev rules
+# TODO
+# - perhaps MODE="660", GROUP="audio" in udev rules?
Summary: Implementation of Microsoft's Media Transfer Protocol (MTP)
Summary(pl.UTF-8): Implementacja protokołu MTP (Media Transfer Protocol) Microsoftu
Name: libmtp
@@ -10,7 +10,6 @@
Group: Libraries
Source0: http://dl.sourceforge.net/libmtp/%{name}-%{version}.tar.gz
# Source0-md5: cdc1cc6afa6be287ff6bc331e71bdc47
-Source1: %{name}-udev.rules
URL: http://libmtp.sourceforge.net/
BuildRequires: automake
BuildRequires: libusb-compat-devel
@@ -77,8 +76,8 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/etc/udev/rules.d
-cp -a %{SOURCE1} $RPM_BUILD_ROOT/etc/udev/rules.d/80-libmtp.rules
+install -d $RPM_BUILD_ROOT/lib/udev/rules.d
+cp -a libmtp.rules $RPM_BUILD_ROOT/lib/udev/rules.d/80-libmtp.rules
%clean
rm -rf $RPM_BUILD_ROOT
@@ -91,7 +90,7 @@
%doc AUTHORS ChangeLog README TODO
%attr(755,root,root) %{_libdir}/libmtp.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libmtp.so.8
-%{_sysconfdir}/udev/rules.d/*.rules
+/lib/udev/rules.d/*.rules
%files devel
%defattr(644,root,root,755)
@@ -115,6 +114,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.33 2010/03/08 18:21:12 glen
+- use udev rules from upstream tarball (more complete and includes ids in our version)
+
Revision 1.32 2010/03/08 18:07:55 glen
- updated udev rules, but i do not have devices to test; rel 2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libmtp/libmtp.spec?r1=1.32&r2=1.33&f=u
More information about the pld-cvs-commit
mailing list