%define with_systemd_daemon 0%{!?_without_systemd_daemon:0}
%define with_pm_utils 1
-# Non-server/HV driver defaults which are always enabled
-%define with_nss_plugin 0%{!?_without_nss_plugin:1}
-
-
# Finally set the OS / architecture specific special cases
# Xen is available only on i386 x86_64 ia64
driver
%endif
-%if %{with_nss_plugin}
%package nss
Summary: Libvirt plugin for Name Service Switch
Group: Development/Libraries
%description nss
Libvirt plugin for NSS for translating domain names into IP addresses.
-%endif
%prep
%define _without_pm_utils --without-pm-utils
%endif
-%if ! %{with_nss_plugin}
- %define _without_nss_plugin --without-nss-plugin
-%endif
-
%define when %(date +"%%F-%%T")
%define where %(hostname)
%define who %{?packager}%{!?packager:Unknown}
%{?_without_wireshark} \
%{?_without_systemd_daemon} \
%{?_without_pm_utils} \
- %{?_without_nss_plugin} \
+ --with-nss-plugin \
%{with_packager} \
%{with_packager_version} \
--with-qemu-user=%{qemu_user} \
%{_libdir}/wireshark/plugins/libvirt.so
%endif
-%if %{with_nss_plugin}
%files nss
%{_libdir}/libnss_libvirt.so.2
-%endif
%if %{with_lxc}
%files login-shell