SHA256
1
0
forked from pool/sispmctl

Accepting request 774311 from home:mbrugger:branches:hardware

- Add patch to change the udev group to dialout

OBS-URL: https://build.opensuse.org/request/show/774311
OBS-URL: https://build.opensuse.org/package/show/hardware/sispmctl?expand=0&rev=5
This commit is contained in:
Tomáš Chvátal 2020-02-14 18:28:00 +00:00 committed by Git OBS Bridge
parent b2d9061ab5
commit 5d1096d302
3 changed files with 22 additions and 0 deletions

View File

@ -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"

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Feb 14 09:18:35 UTC 2020 - Matthias Brugger <mbrugger@suse.com>
- Add patch to change the udev group to dialout
-------------------------------------------------------------------
Thu Feb 6 13:08:17 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -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 \