mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-03 04:45:46 +00:00
libvirt.spec.in: remove nodedev conditional
Both RHEL and Fedora build with the nodedev driver enabled at all times. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
a659559bb0
commit
c8bcff8143
@ -204,8 +204,6 @@
|
|||||||
%define with_cgconfig 0%{!?_without_cgconfig:1}
|
%define with_cgconfig 0%{!?_without_cgconfig:1}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%define with_nodedev 1
|
|
||||||
|
|
||||||
# Force QEMU to run as non-root
|
# Force QEMU to run as non-root
|
||||||
%define qemu_user qemu
|
%define qemu_user qemu
|
||||||
%define qemu_group qemu
|
%define qemu_group qemu
|
||||||
@ -554,24 +552,21 @@ iptables and ip6tables capabilities
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%if %{with_nodedev}
|
|
||||||
%package daemon-driver-nodedev
|
%package daemon-driver-nodedev
|
||||||
Summary: Nodedev driver plugin for the libvirtd daemon
|
Summary: Nodedev driver plugin for the libvirtd daemon
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: libvirt-daemon = %{version}-%{release}
|
||||||
# needed for device enumeration
|
# needed for device enumeration
|
||||||
%if 0%{?fedora} || 0%{?rhel} >= 7
|
%if 0%{?fedora} || 0%{?rhel} >= 7
|
||||||
Requires: systemd >= 185
|
Requires: systemd >= 185
|
||||||
%else
|
%else
|
||||||
Requires: udev >= 145
|
Requires: udev >= 145
|
||||||
%endif
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description daemon-driver-nodedev
|
%description daemon-driver-nodedev
|
||||||
The nodedev driver plugin for the libvirtd daemon, providing
|
The nodedev driver plugin for the libvirtd daemon, providing
|
||||||
an implementation of the node device APIs using the udev
|
an implementation of the node device APIs using the udev
|
||||||
capabilities.
|
capabilities.
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%package daemon-driver-interface
|
%package daemon-driver-interface
|
||||||
@ -1635,11 +1630,9 @@ exit 0
|
|||||||
%attr(0755, root, root) %{_libexecdir}/libvirt_leaseshelper
|
%attr(0755, root, root) %{_libexecdir}/libvirt_leaseshelper
|
||||||
%{_libdir}/%{name}/connection-driver/libvirt_driver_network.so
|
%{_libdir}/%{name}/connection-driver/libvirt_driver_network.so
|
||||||
|
|
||||||
%if %{with_nodedev}
|
|
||||||
%files daemon-driver-nodedev
|
%files daemon-driver-nodedev
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_libdir}/%{name}/connection-driver/libvirt_driver_nodedev.so
|
%{_libdir}/%{name}/connection-driver/libvirt_driver_nodedev.so
|
||||||
%endif
|
|
||||||
|
|
||||||
%if %{with_nwfilter}
|
%if %{with_nwfilter}
|
||||||
%files daemon-driver-nwfilter
|
%files daemon-driver-nwfilter
|
||||||
|
Loading…
Reference in New Issue
Block a user