rpms/usbmuxd/F-13 usbmuxd.spec, 1.12, 1.13 usbmuxd-udevuser.patch, 1.5, NONE
Bastien Nocera
hadess at fedoraproject.org
Fri May 28 10:27:40 UTC 2010
Author: hadess
Update of /cvs/pkgs/rpms/usbmuxd/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv19161
Modified Files:
usbmuxd.spec
Removed Files:
usbmuxd-udevuser.patch
Log Message:
* Fri May 28 2010 Bastien Nocera <bnocera at redhat.com> 1.0.4-2
- Fix udev rule to use the usbmuxd user
Index: usbmuxd.spec
===================================================================
RCS file: /cvs/pkgs/rpms/usbmuxd/F-13/usbmuxd.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -p -r1.12 -r1.13
--- usbmuxd.spec 12 May 2010 08:28:37 -0000 1.12
+++ usbmuxd.spec 28 May 2010 10:27:40 -0000 1.13
@@ -1,6 +1,6 @@
Name: usbmuxd
Version: 1.0.4
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Daemon for communicating with Apple's iPod Touch and iPhone
Group: Applications/System
@@ -9,7 +9,6 @@ License: GPLv3+ or GPLv2+ and LGPLv2+
URL: http://marcansoft.com/uploads/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: http://marcansoft.com/uploads/usbmuxd/%{name}-%{version}.tar.bz2
-Patch0: usbmuxd-udevuser.patch
BuildRequires: libusb1-devel
BuildRequires: cmake
@@ -32,7 +31,10 @@ Files for development with %{name}.
%prep
%setup -q
-%patch0 -p1 -b .udevuser
+
+# Set the owner of the device node to be usbmuxd
+sed -i.owner 's/ATTR{idVendor}=="05ac"/OWNER="usbmuxd", ATTR{idVendor}=="05ac"/' udev/85-usbmuxd.rules.in
+sed -i.user 's/-U usbmux/-U usbmuxd/' udev/85-usbmuxd.rules.in
%build
export CMAKE_PREFIX_PATH=/usr
@@ -75,6 +77,9 @@ exit 0
%{_libdir}/pkgconfig/libusbmuxd.pc
%changelog
+* Fri May 28 2010 Bastien Nocera <bnocera at redhat.com> 1.0.4-2
+- Fix udev rule to use the usbmuxd user
+
* Tue May 11 2010 Peter Robinson <pbrobinson at gmail.com> 1.0.4-1
- New stable 1.0.4 release
--- usbmuxd-udevuser.patch DELETED ---
More information about the scm-commits
mailing list