diff --git a/libindi-uaccess.patch b/libindi-uaccess.patch new file mode 100644 index 0000000..24a9fd5 --- /dev/null +++ b/libindi-uaccess.patch @@ -0,0 +1,7 @@ +diff -ur libindi-1.7.2/drivers/weather/99-vantage.rules libindi-1.7.2.rules/drivers/weather/99-vantage.rules +--- libindi-1.7.2/drivers/weather/99-vantage.rules 2018-04-22 21:52:30.000000000 +0200 ++++ libindi-1.7.2.rules/drivers/weather/99-vantage.rules 2018-06-21 13:21:29.024905884 +0200 +@@ -1,2 +1,2 @@ +-SUBSYSTEMS=="usb", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", GROUP="plugdev", MODE="0666", SYMLINK+="vantage" ++SUBSYSTEMS=="usb", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", TAG+="uaccess", SYMLINK+="vantage" + diff --git a/libindi.spec b/libindi.spec index e12d60d..1ab437f 100644 --- a/libindi.spec +++ b/libindi.spec @@ -1,6 +1,6 @@ Name: libindi Version: 1.7.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Instrument Neutral Distributed Interface License: LGPLv2+ and GPLv2+ @@ -8,6 +8,7 @@ License: LGPLv2+ and GPLv2+ URL: http://www.indilib.org Source0: libindi-%{version}.tar.gz +Patch0: libindi-uaccess.patch # Generated from git checkout using libindi-generate-tarball.sh BuildRequires: cmake @@ -59,6 +60,7 @@ Static library needed to develop a %{name} application %prep %setup -q -n %{name}-%{version} +%patch0 -p1 # For Fedora we want to put udev rules in %{_udevrulesdir} sed -i 's|/lib/udev/rules.d|%{_udevrulesdir}|g' CMakeLists.txt chmod -x drivers/telescope/lx200fs2.h @@ -96,6 +98,9 @@ make install DESTDIR=%{buildroot} %{_libdir}/*.a %changelog +* Thu Jun 21 2018 Sergio Pascual 1.7.2-2 +- Patch udev rule to remove plugdev (bz #1577332) + * Sat May 26 2018 Christian Dersch - 1.7.2-1 - new version