commit 9dc1e60d041c6ec1010a535e3e3d61b4d2394658
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Mon Nov 7 06:42:33 2016 +0000
Fix udev rules (rfbz#4329)
fix_udev_rules.patch | 31 +++++++++++++++++++++++++++++++
mixxx.spec | 7 ++++++-
2 files changed, 37 insertions(+), 1 deletion(-)
---
diff --git a/fix_udev_rules.patch b/fix_udev_rules.patch
new file mode 100644
index 0000000..08ebb75
--- /dev/null
+++ b/fix_udev_rules.patch
@@ -0,0 +1,31 @@
+From 56b8e3fb9e08a0b1b3b474aeef11eef4d7d37079 Mon Sep 17 00:00:00 2001
+From: leigh123linux <leigh123linux(a)fedoraproject.org>
+Date: Mon, 7 Nov 2016 06:36:24 +0000
+Subject: [PATCH] Fix invalid key/value pair in file
+ /usr/lib/udev/rules.d/90-mixxx.usb.rules
+
+systemd-udevd[585]: invalid key/value pair in file
/usr/lib/udev/rules.d/90-mixxx.usb.rules on line 7, starting at character 99
('#')
+systemd-udevd[585]: hint: comments can only start at beginning of line
+systemd-udevd[585]: invalid key/value pair in file
/usr/lib/udev/rules.d/90-mixxx.usb.rules on line 8, starting at character 99
('#')
+systemd-udevd[585]: hint: comments can only start at beginning of line
+---
+ res/linux/mixxx.usb.rules | 6 ++++--
+ 1 file changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/res/linux/mixxx.usb.rules b/res/linux/mixxx.usb.rules
+index 48c6584..e9088bb 100644
+--- a/res/linux/mixxx.usb.rules
++++ b/res/linux/mixxx.usb.rules
+@@ -4,8 +4,10 @@
+ SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device",
ATTRS{bInterfaceClass}=="03", GROUP="users", MODE="0660"
+
+ # Vendors with USB Bulk-transfer DJ controllers
+-SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device",
ATTRS{idVendor}=="06f8", GROUP="users", MODE="0660" #
Hercules
+-SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device",
ATTRS{idVendor}=="15e4", GROUP="users", MODE="0660" # Numark
(may be needed for NS7/V7)
++# Hercules
++SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device",
ATTRS{idVendor}=="06f8", GROUP="users", MODE="0660"
++# Numark (may be needed for NS7/V7)
++SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device",
ATTRS{idVendor}=="15e4", GROUP="users", MODE="0660"
+
+ # Only some distribuions require the below
+ KERNEL=="hiddev*", NAME="usb/%k", GROUP="users"
diff --git a/mixxx.spec b/mixxx.spec
index 0ce122e..b0def19 100644
--- a/mixxx.spec
+++ b/mixxx.spec
@@ -5,7 +5,7 @@
Name: mixxx
Version: 2.0.0
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: Mixxx is open source software for DJ'ing
Group: Applications/Multimedia
@@ -16,6 +16,7 @@ Patch0: %{name}-%{version}-build.patch
Patch1: %{name}-gcc6.patch
Patch2: %{name}-arm.patch
Patch3: AppData_fix.patch
+Patch4: fix_udev_rules.patch
#Build tools
@@ -74,6 +75,7 @@ controllers including MIDI devices, and more.
%patch1 -p1 -b .gcc6
%patch2 -p1
%patch3 -p1
+%patch4 -p1
# TODO remove bundle libs
#rm -rf lib/vamp-2.3 lib/xwax lib/gmock-1.7.0 lib/gtest-1.7.0
@@ -128,6 +130,9 @@ rm -rf $RPM_BUILD_ROOT%{_docdir}
%{_datadir}/appdata/%{name}.appdata.xml
%changelog
+* Mon Nov 07 2016 Leigh Scott <leigh123linux(a)googlemail.com> - 2.0.0-7
+- Fix udev rules (rfbz#4329)
+
* Thu Oct 27 2016 Leigh Scott <leigh123linux(a)googlemail.com> - 2.0.0-6
- Fix appdata (rfbz#4311)
Show replies by date