From 5d1096d3027ec819028344a3300604a360cd93e58addf8688a78278de86307ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 14 Feb 2020 18:28:00 +0000 Subject: [PATCH] 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 --- sispmctl-fix-udev-group.patch | 15 +++++++++++++++ sispmctl.changes | 5 +++++ sispmctl.spec | 2 ++ 3 files changed, 22 insertions(+) create mode 100644 sispmctl-fix-udev-group.patch 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 \