Updated udev rules again

This commit is contained in:
Linus Walleij 2010-12-01 00:22:46 +01:00
parent d31a1d1369
commit 258a0d525f

View File

@ -3,7 +3,7 @@
Name: libmtp
Version: 1.0.3
Release: 6%{?dist}
Release: 7%{?dist}
Summary: A software library for MTP media players
URL: http://libmtp.sourceforge.net/
@ -56,7 +56,7 @@ library for MTP media players.
%configure --disable-static --program-prefix=mtp-
make %{?_smp_mflags}
# Remove permissions from udev rules, but register for ACL management
examples/hotplug -a"SYMLINK+=\"libmtp-%k\" ENV{ID_MTP_DEVICE}=\"1\", ENV{ID_MEDIA_PLAYER}=\"1\" TAG+=\"udev-acl\"" > libmtp.rules
examples/hotplug -a"SYMLINK+=\"libmtp-%k\", ENV{ID_MTP_DEVICE}=\"1\", ENV{ID_MEDIA_PLAYER}=\"1\", TAG+=\"udev-acl\"" > libmtp.rules
%install
rm -rf $RPM_BUILD_ROOT
@ -127,6 +127,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Wed Dec 1 2010 Linus Walleij <triad@df.lth.se> 1.0.3-7
- Now even with correct commas and stuff in udev actions.
* Tue Nov 30 2010 Linus Walleij <triad@df.lth.se> 1.0.3-6
- It appears adding ENV{ID_MTP_DEVICE}="1",
ENV{ID_MEDIA_PLAYER}="1" is the way forward so testing this