[libosinfo] spec: Don't require udev on newer distros

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
---
 libosinfo.spec.in | 2 ++
 1 file changed, 2 insertions(+)

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
-- 
1.8.1.4

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux