Patch udev rule to remove plugdev (bz #1577332)
This commit is contained in:
parent
7edf14ca2c
commit
dd2e296cf4
7
libindi-uaccess.patch
Normal file
7
libindi-uaccess.patch
Normal file
@ -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"
|
||||
|
@ -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 <sergiopr@fedoraproject.org> 1.7.2-2
|
||||
- Patch udev rule to remove plugdev (bz #1577332)
|
||||
|
||||
* Sat May 26 2018 Christian Dersch <lupinix@mailbox.org> - 1.7.2-1
|
||||
- new version
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user