[virt-tools-list] [libosinfo 2/2] Add udev rules file to RPM package

Zeeshan Ali (Khattak) zeeshanak at gnome.org
Thu Sep 15 15:07:04 UTC 2011


From: "Zeeshan Ali (Khattak)" <zeeshanak at gnome.org>

---
 libosinfo.spec.in |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/libosinfo.spec.in b/libosinfo.spec.in
index 2c65e89..f1b8cac 100644
--- a/libosinfo.spec.in
+++ b/libosinfo.spec.in
@@ -59,7 +59,7 @@ Libraries, includes, etc. to compile with the libosinfo library
 %define gir_arg --enable-introspection=no
 %endif
 
-%configure %{gir_arg}
+%configure %{gir_arg} --enable-udev=yes
 %__make %{?_smp_mflags} V=1
 
 chmod a-x examples/*.js examples/*.py
@@ -95,6 +95,7 @@ rm -fr %{buildroot}
 %{_datadir}/libosinfo/data/oses
 %{_datadir}/libosinfo/data/hypervisors
 %{_libdir}/%{name}-1.0.so.*
+/lib/udev/rules.d/95-osinfo.rules
 %if %{with_gir}
 %{_libdir}/girepository-1.0/Libosinfo-1.0.typelib
 %endif
-- 
1.7.6




More information about the virt-tools-list mailing list