From afc534c8c4f22fd4e8afa0d7ad69e4941137b0cd Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Oct 15 2019 21:06:12 +0000 Subject: udev patch. --- diff --git a/libgpod-udev.patch b/libgpod-udev.patch new file mode 100644 index 0000000..819728e --- /dev/null +++ b/libgpod-udev.patch @@ -0,0 +1,15 @@ +--- tools/90-libgpod.rules.in~ 2011-07-24 06:03:29.000000000 -0500 ++++ tools/90-libgpod.rules.in 2019-10-15 15:50:28.279770507 -0500 +@@ -16,10 +16,10 @@ + + + # "iPods" using the afc protocol (iPhone, iPod Touch, ...) +-ACTION=="add|change", ENV{USBMUX_SUPPORTED}=="1", IMPORT{program}+="@udevdir@/iphone-set-info", GOTO="libgpod_end" ++ACTION=="add|change", ENV{USBMUX_SUPPORTED}=="1", IMPORT{program}=="@udevdir@/iphone-set-info", GOTO="libgpod_end" + # with a new enough usbmuxd, the rule below is not useful since it will + # take care of setting USBMUX_SUPPORTED for all supported devices. Keep + # this rule for now until distros ship a new enough usbmuxd +-ACTION=="add|change", SUBSYSTEM=="usb", ATTR{idVendor}=="05ac", ATTR{idProduct}=="129[0-9a]", IMPORT{program}+="@udevdir@/iphone-set-info" ++ACTION=="add|change", SUBSYSTEM=="usb", ATTR{idVendor}=="05ac", ATTR{idProduct}=="129[0-9a]", IMPORT{program}=="@udevdir@/iphone-set-info" + + LABEL="libgpod_end" diff --git a/libgpod.spec b/libgpod.spec index 740b24e..61a63c8 100644 --- a/libgpod.spec +++ b/libgpod.spec @@ -13,7 +13,7 @@ Summary: Library to access the contents of an iPod Name: libgpod Version: 0.8.3 -Release: 30%{?dist} +Release: 31%{?dist} License: LGPLv2+ URL: http://www.gtkpod.org/libgpod.html Source0: http://downloads.sourceforge.net/gtkpod/%{name}-%{version}.tar.bz2 @@ -23,6 +23,7 @@ Patch0: libgpod-0.8.2-pkgconfig_overlinking.patch Patch1: libgpod-fixswig.patch Patch2: libgpod-0.8.3-mono4.patch Patch3: libgpod-playcounts.patch +Patch4: libgpod-udev.patch BuildRequires: automake libtool BuildRequires: docbook-style-xsl @@ -111,6 +112,7 @@ libgpod-sharp. %patch1 -p1 -b .swig %patch2 -p1 -b .mono4 %patch3 -p1 -b .playcounts +%patch4 -p0 -b .udev %if %{with_gtk3} sed -i "s#sharp-2.0#sharp-3.0#g" bindings/mono/libgpod-sharp/libgpod-sharp.pc.in @@ -186,6 +188,9 @@ find %{buildroot} -type f -name "*.a" -delete %endif %changelog +* Tue Oct 15 2019 Gwyn Ciesla - 0.8.3-31 +- Correct udev rules. + * Wed Aug 07 2019 Gwyn Ciesla - 0.8.3-30 - Fix FTBFS.