summaryrefslogtreecommitdiff
path: root/libosinfo.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'libosinfo.spec.in')
-rw-r--r--libosinfo.spec.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/libosinfo.spec.in b/libosinfo.spec.in
index 49ebd52..fc2f2d1 100644
--- a/libosinfo.spec.in
+++ b/libosinfo.spec.in
@@ -37,7 +37,9 @@ BuildRequires: /usr/bin/pod2man
BuildRequires: gobject-introspection-devel
%endif
Requires: hwdata
+%if %{with_udev}
Requires: udev
+%endif
%description
libosinfo is a library that allows virtualization provisioning tools to