[usbutils/f15] fixed path to usb.ids in lsusb.py
Lukáš Nykrýn
lnykryn at fedoraproject.org
Tue Sep 20 08:54:48 UTC 2011
commit d4ceb824dfe1dfd940d7fea492e20d70ee18fea3
Author: Jiri Moskovcak <jmoskovc at redhat.com>
Date: Sat Aug 13 18:51:23 2011 +0200
fixed path to usb.ids in lsusb.py
usbutils-003-hwdata.patch | 11 +++++++++++
usbutils.spec | 5 ++++-
2 files changed, 15 insertions(+), 1 deletions(-)
---
diff --git a/usbutils-003-hwdata.patch b/usbutils-003-hwdata.patch
index c755983..4a08c48 100644
--- a/usbutils-003-hwdata.patch
+++ b/usbutils-003-hwdata.patch
@@ -66,3 +66,14 @@
usbutils.pc
distclean-local:
+--- usbutils-003/lsusb.py 2010-12-16 01:07:09.000000000 +0100
++++ usbutils-003_/lsusb.py 2011-08-11 09:57:57.079327430 +0200
+@@ -16,7 +16,7 @@
+ warnsort = False
+
+ prefix = "/sys/bus/usb/devices/"
+-usbids = "/usr/share/usb.ids"
++usbids = "/usr/share/hwdata/usb.ids"
+
+ esc = chr(27)
+ norm = esc + "[0;0m"
diff --git a/usbutils.spec b/usbutils.spec
index 9ae17c7..082fc58 100644
--- a/usbutils.spec
+++ b/usbutils.spec
@@ -1,6 +1,6 @@
Name: usbutils
Version: 003
-Release: 2%{?dist}
+Release: 3%{?dist}
Source: http://www.kernel.org/pub/linux/utils/usb/usbutils/%{name}-%{version}.tar.gz
URL: http://www.linux-usb.org/
License: GPLv2+
@@ -50,6 +50,9 @@ sed -i 's|usbids=/usr/share/usb.ids|usbids=/usr/share/hwdata/usb.ids|' $RPM_BUIL
rm -rf $RPM_BUILD_ROOT
%changelog
+* Thu Aug 11 2011 Jiri Moskovcak <jmoskovc at redhat.com> 003-3
+- fixed path to usb.ids in lsusb.py rhbz#729903
+
* Mon Jun 27 2011 Nils Philippsen <nils at redhat.com> 003-2
- don't use invalid config descriptors (#707853)
More information about the scm-commits
mailing list