]> xenbits.xensource.com Git - libvirt.git/commitdiff
specfile: use correct option for nbdkit in mingw build
authorLaine Stump <laine@redhat.com>
Mon, 23 Oct 2023 02:34:52 +0000 (22:34 -0400)
committerLaine Stump <laine@redhat.com>
Mon, 23 Oct 2023 11:52:12 +0000 (07:52 -0400)
commit v9.8.0-40-g7cbd8c4230 changed the name of the option that
enables/disables nbdkit support in the build from "libnbd" to
"nbdkit", but one use of "libnbd=disabled" was missed in
libvirt.specfile.in - the meson commandline for mingw.

This patch changes that line to "-Dnbdkit=disabled", thus unbreaking
the rpm build.

Resolves: https://gitlab.com/libvirt/libvirt/-/issues/550
Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
libvirt.spec.in

index fe54c45c5c6ab4e5ac59af1a5d3fd05c62ea8043..262c59eb5b3fb6b2ca2cb579ff394caf11eec4be 100644 (file)
@@ -1356,7 +1356,7 @@ export SOURCE_DATE_EPOCH=$(stat --printf='%Y' %{_specdir}/libvirt.spec)
   -Dglusterfs=disabled \
   -Dhost_validate=disabled \
   -Dlibiscsi=disabled \
-  -Dlibnbd=disabled \
+  -Dnbdkit=disabled \
   -Dlibnl=disabled \
   -Dlibpcap=disabled \
   -Dlibssh2=disabled \