From nobody Sun Apr 28 14:28:25 2024 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=1640341463; cv=none; d=zohomail.com; s=zohoarc; b=IgpCxlxu2gKYk08BJ/AOX6dMjBlVE78lwxcxxpkUGpScsABKqv/CXHq1p3hafA1bbrZ1VKXZaHPVdxx3jN6Z/E1veyDBADSlTy8dH/awqz0fduEwsoAxJVubx9qXH3A7K/fIngURK5WpRbiu71KgPWovNoy7kIJdiDkThav2WWA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1640341463; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=TuP5Xljx/OQ55xS4JvrZZNkVvMecZ1WxAXUbmyJODhs=; b=TEH2JgfsJNS7/OwGzBNF4JhQA1yHPTuv1oe2U8q2VUTphanwEnKxLFTG8J6KjriL+VeMhqs+TzqjMhiI7S04d0ycRVLNnuR7WyyxhCR1y8GuyhK2J5KJCBqeFVDxDjbW74RWYihki5jzVdSq+G35UuU8IYzCv/u4ars0hhUc7gM= 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 1640341463035292.61529670778793; Fri, 24 Dec 2021 02:24:23 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-527-t-1i_QvXM5WFy61d6XtIRg-1; Fri, 24 Dec 2021 05:24:18 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 7B860814331; Fri, 24 Dec 2021 10:24:11 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id F092B7E65F; Fri, 24 Dec 2021 10:24:10 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id DB1AF4BB7C; Fri, 24 Dec 2021 10:24:08 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 1BOAO7eu002504 for ; Fri, 24 Dec 2021 05:24:07 -0500 Received: by smtp.corp.redhat.com (Postfix) id A72F4108BEE4; Fri, 24 Dec 2021 10:24:07 +0000 (UTC) Received: from kinshicho.fritz.box (unknown [10.40.192.134]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D24AF108F82F for ; Fri, 24 Dec 2021 10:24:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1640341461; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=TuP5Xljx/OQ55xS4JvrZZNkVvMecZ1WxAXUbmyJODhs=; b=b+p7icDyZpONC0CspfP0dWmqRuwTawXr+KY4zMv1cd8GHowhaAk3b4RiU151ARVNBI2UBR fQK43GZ3ZKxFADOum5u41SMt/FH4Zn066Sdqmw0GNizArofOUyISb1hUeOBl0rPpvOjd4X 11LBBJtFe93TgIEqug3awgotY/pAsYA= X-MC-Unique: t-1i_QvXM5WFy61d6XtIRg-1 From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt PATCH] spec: Demote netcat to Recommends Date: Fri, 24 Dec 2021 11:23:58 +0100 Message-Id: <20211224102358.288122-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com 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: 1640341463822000001 Content-Type: text/plain; charset="utf-8" It is only needed if compatibility with clients using libvirt 6.9.0 is required, and can be uninstalled otherwise. Signed-off-by: Andrea Bolognani Reviewed-by: Martin Kletzander --- libvirt.spec.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index 7bd74da2c9..0180b4200c 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -402,8 +402,12 @@ Summary: Server side daemon and supporting files for l= ibvirt library # The client side, i.e. shared libs are in a subpackage Requires: %{name}-libs =3D %{version}-%{release} =20 -# (client invokes 'nc' against the UNIX socket on the server) -Requires: /usr/bin/nc +# netcat is needed on the server side so that clients that have +# libvirt < 6.9.0 can connect, but newer versions will prefer +# virt-ssh-helper. Making this a Recommends means that it gets +# installed by default, but can still be removed if compatibility +# with old clients is not required +Recommends: /usr/bin/nc =20 # for modprobe of pci devices Requires: module-init-tools --=20 2.31.1