From nobody Tue Feb 10 16:18:49 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1693259147; cv=none; d=zohomail.com; s=zohoarc; b=DzHoLs0iwGArmnZ6GeM3ehVALOYTFxd/cNYGA5h6LKKN/aJkFN2s7lwoXz0UEefq81+Wmmao+TiDoz+BT/luR6+YJzYdPDb5S5gfJ7+NNO8hJH+WFx0XWqyEKqhAuoxL0lo/H1FjXfB508E8Nx2KD1h/q5gJbRAb9lPIMWnsGaA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1693259147; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=AjLBdLGd05D8ns9fZDg8Rd+99INFaHZ9IOSgirh7YQ8=; b=dR+SLDBPuh3IAj/DVKbboOJterIq9ougoGre78JMa88+FvOLMWQ6ManP5DJmD4e0U5agRn98vEeNtqgJbOf088n9agRuAUoFst9dGReiRvD2rg7mQTn41NzXsMsBaszi4I/7eQSipUG2G0A4zNbSZuEMAYK6c6eST7HcHF5uNbc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1693259147514516.8245548037698; Mon, 28 Aug 2023 14:45:47 -0700 (PDT) Received: from mimecast-mx02.redhat.com (66.187.233.73 [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-694-D0l02-bAOvWBCThJ8Z6CXA-1; Mon, 28 Aug 2023 17:45:40 -0400 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 031B61C0335B; Mon, 28 Aug 2023 21:45:24 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id CCA59402D90; Mon, 28 Aug 2023 21:45:23 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 9337B1946588; Mon, 28 Aug 2023 21:45:23 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 6D1461946588 for ; Mon, 28 Aug 2023 21:45:20 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 5F3DA140E967; Mon, 28 Aug 2023 21:45:20 +0000 (UTC) Received: from himantopus.redhat.com (unknown [10.22.17.242]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3577A140E962; Mon, 28 Aug 2023 21:45:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1693259146; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=AjLBdLGd05D8ns9fZDg8Rd+99INFaHZ9IOSgirh7YQ8=; b=h4uynGcE12zM9+8uS02m07vEqCutEVLNIkdp3qidm2yD89pLmTa9tARLlUewOLDZlyVw5K FJvX03MW3pE/PdkvKZw+zUFjHUNA1S+UWbYqKjpBTzwol3hDYIXHW/ySvONT2KWxDCKbTP 1Dd8z30GOiJgu2es4FxTc8ROU63+hl0= X-MC-Unique: D0l02-bAOvWBCThJ8Z6CXA-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Jonathon Jongsma To: libvir-list@redhat.com Subject: [libvirt PATCH v7 35/35] rpm: update spec file for for nbdkit support Date: Mon, 28 Aug 2023 16:45:10 -0500 Message-ID: <20230828214510.903890-36-jjongsma@redhat.com> In-Reply-To: <20230828214510.903890-1-jjongsma@redhat.com> References: <20230828214510.903890-1-jjongsma@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.7 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Krempa Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1693259147965100009 Content-Type: text/plain; charset="utf-8"; x-default="true" Require libnbd-devel when building the qemu driver, recommend nbdkit packages. Signed-off-by: Jonathon Jongsma Reviewed-by: Peter Krempa --- libvirt.spec.in | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libvirt.spec.in b/libvirt.spec.in index 7157cfe3b4..94cae34496 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -312,6 +312,7 @@ BuildRequires: util-linux BuildRequires: libacl-devel # From QEMU RPMs, used by virstoragetest BuildRequires: /usr/bin/qemu-img +BuildRequires: libnbd-devel %endif # For LVM drivers BuildRequires: lvm2 @@ -768,6 +769,9 @@ Requires: numad Recommends: passt Recommends: passt-selinux %endif +Recommends: nbdkit +Recommends: nbdkit-curl-plugin +Recommends: nbdkit-ssh-plugin =20 %description daemon-driver-qemu The qemu driver plugin for the libvirtd daemon, providing @@ -1069,8 +1073,10 @@ exit 1 =20 %if %{with_qemu} %define arg_qemu -Ddriver_qemu=3Denabled + %define arg_libnbd -Dlibndb=3Denabled %else %define arg_qemu -Ddriver_qemu=3Ddisabled + %define arg_libnbd -Dlibndb=3Ddisabled %endif =20 %if %{with_openvz} @@ -1259,6 +1265,7 @@ export SOURCE_DATE_EPOCH=3D$(stat --printf=3D'%Y' %{_= specdir}/libvirt.spec) -Dyajl=3Denabled \ %{?arg_sanlock} \ -Dlibpcap=3Denabled \ + %{?arg_libnbd} \ -Dlibnl=3Denabled \ -Daudit=3Denabled \ -Ddtrace=3Denabled \ @@ -1322,6 +1329,7 @@ export SOURCE_DATE_EPOCH=3D$(stat --printf=3D'%Y' %{_= specdir}/libvirt.spec) -Dglusterfs=3Ddisabled \ -Dhost_validate=3Ddisabled \ -Dlibiscsi=3Ddisabled \ + -Dlibnbd=3Ddisabled \ -Dlibnl=3Ddisabled \ -Dlibpcap=3Ddisabled \ -Dlibssh2=3Ddisabled \ --=20 2.41.0