summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2013-03-05 18:30:15 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2013-03-05 18:30:15 +0100
commit7a4fb6f9bd02fbbc6cb86c97b7078b86c0d22dc8 (patch)
tree2ecc44907d4e460c132b1b00aa78366d0e50e683
parentd895dc43702717deb4022f0896469ba6ac8646a5 (diff)
spec: Don't require udev on newer distros
96c66b8 disabled building of the udev rule on newer Fedoras, however the .spec still has a Requires: udev, which is not relevant when the udev rule is not built.
-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