[libvirt] [PATCH v4 4/8] libvirt.spec.in: Introduce libvirt-nss package

Martin Kletzander mkletzan at redhat.com
Tue Mar 8 15:08:10 UTC 2016


On Thu, Mar 03, 2016 at 06:11:42PM +0100, Michal Privoznik wrote:
>Lets put the NSS module into its own package.
>
>Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
>---
> libvirt.spec.in | 21 +++++++++++++++++++++
> 1 file changed, 21 insertions(+)
>
>diff --git a/libvirt.spec.in b/libvirt.spec.in
>index 03e2438..733b347 100644
>--- a/libvirt.spec.in
>+++ b/libvirt.spec.in
>@@ -155,6 +155,7 @@
> # Non-server/HV driver defaults which are always enabled
> %define with_sasl          0%{!?_without_sasl:1}
> %define with_audit         0%{!?_without_audit:1}
>+%define with_nss_plugin    0%{!?_without_nss_plugin:1}
>
>
> # Finally set the OS / architecture specific special cases
>@@ -1218,6 +1219,16 @@ Includes the Sanlock lock manager plugin for the QEMU
> driver
> %endif
>
>+%if %{with_nss_plugin}
>+%package nss
>+Summary: Libvirt plugin for Name Service Switch
>+Group: Development/Libraries
>+Requires: %{name}-client = %{version}-%{release}
>+

I would instead require libvirt-daemon-driver-network so it's clean, but
not that it would change anything.  Wanting network driver without the
daemon doesn't make sense and the daemon requires the client.  It' sjust
that it would be a bit cleaner.  ACK either way.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20160308/826ca71e/attachment-0001.sig>


More information about the libvir-list mailing list