From 1622012cc42b983300015a6661b1ca67d40376ad Mon Sep 17 00:00:00 2001 From: Laine Stump Date: Sun, 22 Oct 2023 22:34:52 -0400 Subject: [PATCH] specfile: use correct option for nbdkit in mingw build 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 Reviewed-by: Andrea Bolognani --- libvirt.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index fe54c45c5c..262c59eb5b 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -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 \ -- 2.39.5