+++ /dev/null
---- libosinfo-0.2.6/data/Makefile.am.orig 2013-03-13 01:50:59.000000000 +0100
-+++ libosinfo-0.2.6/data/Makefile.am 2013-03-23 09:21:34.776606356 +0100
-@@ -11,7 +11,7 @@
- -wget -q -O $@ http://www.linux-usb.org/usb.ids
- else
- usb_ids_install:
-- $(LN_S) $(USB_IDS) $(pkgdatadir)/db/usb.ids
-+ $(LN_S) $(USB_IDS) $(DESTDIR)$(pkgdatadir)/db/usb.ids
- INSTALL_DATA_HOOK_DEPS += usb_ids_install
- endif
-
-@@ -22,7 +22,7 @@
- -wget -q -O $@ http://pciids.sourceforge.net/v2.2/pci.ids
- else
- pci_ids_install:
-- $(LN_S) $(PCI_IDS) $(pkgdatadir)/db/pci.ids
-+ $(LN_S) $(PCI_IDS) $(DESTDIR)$(pkgdatadir)/db/pci.ids
- INSTALL_DATA_HOOK_DEPS += pci_ids_install
- endif
-
Summary: A library for managing OS information for virtualization
Summary(pl.UTF-8): Biblioteka do zarządzania informacjami dotyczącymi OS na potrzeby wirtualizacji
Name: libosinfo
-Version: 0.2.6
+Version: 0.2.7
Release: 1
License: LGPL v2+
Group: Libraries
Source0: https://fedorahosted.org/releases/l/i/libosinfo/%{name}-%{version}.tar.gz
-# Source0-md5: 2bcf0b244fc206a4003e2cea8c8568c6
-Patch0: %{name}-destdir.patch
+# Source0-md5: 9fe4bd5f16901fa3a77e839345ae8b2e
URL: https://fedorahosted.org/libosinfo/
BuildRequires: autoconf >= 2.61
BuildRequires: automake >= 1:1.11.1
%prep
%setup -q
-%patch0 -p1
%build
%{__libtoolize}
%configure \
%{__enable_disable apidocs gtk-doc} \
--disable-silent-rules \
- %{!?with_static_libs:--disable-static} \
+ %{?with_static_libs:--enable-static} \
--enable-udev \
%{!?with_vala:--disable-vala} \
--with-html-dir=%{_gtkdocdir} \