[libosinfo] Re-enable usage of pci/usb.ids from 'hwdata'

Zeeshan Ali zeenix at fedoraproject.org
Mon May 13 23:58:32 UTC 2013


commit 7c7d853e61c06e94d7948fdd76fef4e688d3d5db
Author: Zeeshan Ali (Khattak) <zeeshanak at gnome.org>
Date:   Thu Mar 21 01:22:31 2013 +0200

    Re-enable usage of pci/usb.ids from 'hwdata'
    
    The Makefile rule for linking in upstream is now fixed.

 libosinfo.spec |    3 ++-
 sources        |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/libosinfo.spec b/libosinfo.spec
index 0bcf234..9b35a92 100644
--- a/libosinfo.spec
+++ b/libosinfo.spec
@@ -36,6 +36,7 @@ BuildRequires: /usr/bin/pod2man
 %if %{with_gir}
 BuildRequires: gobject-introspection-devel
 %endif
+Requires: hwdata
 %if %{with_udev}
 Requires: udev
 %endif
@@ -87,7 +88,7 @@ This package provides the Vala bindings for libosinfo library.
 %define udev_arg --enable-udev=no
 %endif
 
-%configure %{gir_arg} %{udev_arg} --enable-vala=yes
+%configure %{gir_arg} %{udev_arg} --enable-vala=yes --with-usb-ids-path=/usr/share/hwdata/usb.ids --with-pci-ids-path=/usr/share/hwdata/pci.ids
 %__make %{?_smp_mflags} V=1
 
 chmod a-x examples/*.js examples/*.py
diff --git a/sources b/sources
index d27ea06..e0d2846 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2bcf0b244fc206a4003e2cea8c8568c6  libosinfo-0.2.6.tar.gz
+9fe4bd5f16901fa3a77e839345ae8b2e  libosinfo-0.2.7.tar.gz


More information about the scm-commits mailing list