From nobody Mon Feb 9 21:19:49 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.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.129.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=1689891653; cv=none; d=zohomail.com; s=zohoarc; b=ZTa3ERfQ4qKfYLnGp9j/zx4EziSEcVhWWpdmIz6Kfa1rg3Wqmxswysq9dn3QYblifQQCcUm0HhHFcBt+QBPRx1PiSSi3vw1bneyiEtSGQU704xCz3/eDMs6S2EScvPAIUmqJzxJVuf97X4GRtMz59fkKCmYt//MvF4N18Z1q6pE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1689891653; h=Content-Type:Content-Transfer-Encoding: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=MLBZ+A7qQcvcVKQ1NWNFtvL7ciKfqtO5iaLYpL5NRAc=; b=On3CBidQiAi4snOjGnCNUXj7RxezWMuFUzjq6Wg1TZGHLrlcJ7F4O3w7tKTMV5V/VJNBvNa1Juo4F5lHyY+6hcRBbCIOI1xP4oqzeLwh7jlb9f9Rkcl9h8otOjW6WgRlAk9LZSPfTO+xUc7bBsXd57raSitfW8hYcHI+ApwHpF0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.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.129.124]) by mx.zohomail.com with SMTPS id 168989165320549.60315443164029; Thu, 20 Jul 2023 15:20:53 -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-19-9LFYx5KvPK2FaFsp65F9mw-1; Thu, 20 Jul 2023 18:20:48 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 1E032381AE65; Thu, 20 Jul 2023 22:20:37 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id B1B85200C0F2; Thu, 20 Jul 2023 22:20:36 +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 BF09E19376EB; Thu, 20 Jul 2023 22:20:24 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id A394A19452CA for ; Thu, 20 Jul 2023 22:20:14 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 5B9ED40B4CCC; Thu, 20 Jul 2023 22:20:13 +0000 (UTC) Received: from himantopus.redhat.com (unknown [10.22.8.155]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3B0E140C207D for ; Thu, 20 Jul 2023 22:20:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1689891652; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=MLBZ+A7qQcvcVKQ1NWNFtvL7ciKfqtO5iaLYpL5NRAc=; b=R0yPYFaIdqYgnU7k2e7HUsOBb6Kk/Infk9LblSwiZFnI+NTWuf0wW7ggQE5RXMv5W81e8+ akA4h4XcXdYOd2RzfqFLnbpf9YnVi5QJfBvu/aagENHl092qag50zkAsEHlVj6ndSkiZ2s 33GWQOlg572bWQCsUSZHS9Xrn7yJmHI= X-MC-Unique: 9LFYx5KvPK2FaFsp65F9mw-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Jonathon Jongsma To: libvir-list@redhat.com Subject: [libvirt PATCH v6 36/36] rpm: update spec file for for nbdkit support Date: Thu, 20 Jul 2023 17:20:03 -0500 Message-ID: <20230720222003.411549-37-jjongsma@redhat.com> In-Reply-To: <20230720222003.411549-1-jjongsma@redhat.com> References: <20230720222003.411549-1-jjongsma@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 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: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.4 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: 1689891654427100005 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 --- libvirt.spec.in | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libvirt.spec.in b/libvirt.spec.in index 1f77cd90b7..616087e849 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 @@ -767,6 +768,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 @@ -1068,8 +1072,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} @@ -1258,6 +1264,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 \ @@ -1321,6 +1328,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