diff --git a/sispmctl-fix-udev-group.patch b/sispmctl-fix-udev-group.patch new file mode 100644 index 0000000..30de76e --- /dev/null +++ b/sispmctl-fix-udev-group.patch @@ -0,0 +1,15 @@ +Index: b/examples/60-sispmctl.rules +=================================================================== +--- a/examples/60-sispmctl.rules ++++ b/examples/60-sispmctl.rules +@@ -1,5 +1,5 @@ +-SUBSYSTEM=="usb", ATTR{idVendor}=="04b4", ATTR{idProduct}=="fd10", GROUP="sispmctl", MODE="660" +-SUBSYSTEM=="usb", ATTR{idVendor}=="04b4", ATTR{idProduct}=="fd11", GROUP="sispmctl", MODE="660" +-SUBSYSTEM=="usb", ATTR{idVendor}=="04b4", ATTR{idProduct}=="fd12", GROUP="sispmctl", MODE="660" +-SUBSYSTEM=="usb", ATTR{idVendor}=="04b4", ATTR{idProduct}=="fd13", GROUP="sispmctl", MODE="660" +-SUBSYSTEM=="usb", ATTR{idVendor}=="04b4", ATTR{idProduct}=="fd15", GROUP="sispmctl", MODE="660" ++SUBSYSTEM=="usb", ATTR{idVendor}=="04b4", ATTR{idProduct}=="fd10", GROUP="dialout", MODE="660" ++SUBSYSTEM=="usb", ATTR{idVendor}=="04b4", ATTR{idProduct}=="fd11", GROUP="dialout", MODE="660" ++SUBSYSTEM=="usb", ATTR{idVendor}=="04b4", ATTR{idProduct}=="fd12", GROUP="dialout", MODE="660" ++SUBSYSTEM=="usb", ATTR{idVendor}=="04b4", ATTR{idProduct}=="fd13", GROUP="dialout", MODE="660" ++SUBSYSTEM=="usb", ATTR{idVendor}=="04b4", ATTR{idProduct}=="fd15", GROUP="dialout", MODE="660" diff --git a/sispmctl.changes b/sispmctl.changes index 0191d34..09ab457 100644 --- a/sispmctl.changes +++ b/sispmctl.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 14 09:18:35 UTC 2020 - Matthias Brugger + +- Add patch to change the udev group to dialout + ------------------------------------------------------------------- Thu Feb 6 13:08:17 UTC 2020 - Tomáš Chvátal diff --git a/sispmctl.spec b/sispmctl.spec index 8bb2c10..3545c38 100644 --- a/sispmctl.spec +++ b/sispmctl.spec @@ -24,6 +24,7 @@ Summary: SIS-PM Control for Linux License: GPL-2.0-only URL: https://sourceforge.net/projects/sispmctl/ Source0: sispmctl-%{version}.tar.gz +Patch0: sispmctl-fix-udev-group.patch BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: pkgconfig(libusb) @@ -47,6 +48,7 @@ Development files for the GEMBIRD Silver Shield PM device. %prep %setup -q +%autopatch -p1 %build %configure \