[Libosinfo] [libosinfo] Allow to use system pci.ids/usb.ids files

Daniel P. Berrange berrange at redhat.com
Tue Mar 5 17:21:04 UTC 2013


On Tue, Mar 05, 2013 at 06:11:15PM +0100, Christophe Fergeau wrote:
> diff --git a/libosinfo.spec.in b/libosinfo.spec.in
> index 75de896..0864a2b 100644
> --- a/libosinfo.spec.in
> +++ b/libosinfo.spec.in
> @@ -85,7 +85,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

I think we also need to add

 Requires: hwdata

ACK with that change


Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the Libosinfo mailing list