From nobody Tue May 7 17:39:49 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) client-ip=205.139.110.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 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=1595112393; cv=none; d=zohomail.com; s=zohoarc; b=OGmFIsUJPiejgfpSAsDkmbP3Bdjcdj4KFHWdOm5PaaUnyE1BfRVg62EmSr0M5RRYLhtvjDWs5ts7dbc9GKEMYYi7/DmT7x1dJSn2/kp3q2IklqwRs+BvZqFWlPncuCr/jxXPvV4eIA7w+Z19OdJIj5/ztZOnnHolm5LtvEQZvAg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1595112393; 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=AEP6fy0QaK5sHku5eCyfXmEsrYW7RQ1SvsJsNgaXknM=; b=Pt8F1TaJSEh+Xsw1QOehGUa0HOG2Faeq0ZPS1+Qk0bssoH5JlwX0BVy0BslJUWUOQCVBts5XQ7pA9lmK5rv6uJ2cGPRwEffWlQu4xoaWlVlMnQOu9retzoMtFYMGdd7DPQz3XII4LzyAE2Oe52PhWHSGdgxMlCWU/sGqm4e/xb0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by mx.zohomail.com with SMTPS id 1595112393224869.0375007570757; Sat, 18 Jul 2020 15:46:33 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-14-byt9sc6xNACl-hZhowIo0g-1; Sat, 18 Jul 2020 18:46:21 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 1ABE9E91A; Sat, 18 Jul 2020 22:46:16 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 83995710A8; Sat, 18 Jul 2020 22:46:14 +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 AC0A01809554; Sat, 18 Jul 2020 22:46:12 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 06IMkBHB012876 for ; Sat, 18 Jul 2020 18:46:11 -0400 Received: by smtp.corp.redhat.com (Postfix) id 5DC14710A8; Sat, 18 Jul 2020 22:46:11 +0000 (UTC) Received: from kinshicho.usersys.redhat.com (unknown [10.40.192.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id AE6CD73034 for ; Sat, 18 Jul 2020 22:46:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1595112385; 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=AEP6fy0QaK5sHku5eCyfXmEsrYW7RQ1SvsJsNgaXknM=; b=MxkrhSz77JzsCPEMc5UfanCRAwp3O6hdUIx/9+8/dHOG7bTk85MS/RXHb0AviWbSbmHuRg gKhPsoTcQZJ69HEM7Epq7gHbIZSeZE8oZTCvVmcg70MBnF6KA2tb6Re1VzV6v9L/5R6g1O Bk9eGn3prXHD7m/B9a6ScgjcnSuJX2w= X-MC-Unique: byt9sc6xNACl-hZhowIo0g-1 From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt PATCH] spec: Don't require mdevctl on RHEL 7 Date: Sun, 19 Jul 2020 00:46:05 +0200 Message-Id: <20200718224605.34893-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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.15 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) Content-Type: text/plain; charset="utf-8" mdevctl is a relatively new tool that's packaged for Fedora and RHEL 8, but not for RHEL 7. Make the dependency conditional to avoid the libvirt-daemon-driver-nodedev package becoming uninstallable on that platform. Fixes: 9691440ecbc7d9383a1410f1067a4f9221f2de2c Signed-off-by: Andrea Bolognani Reviewed-by: Erik Skultety --- libvirt.spec.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libvirt.spec.in b/libvirt.spec.in index f335a7e06e..c700bf8e5c 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -526,7 +526,9 @@ Requires: libvirt-libs =3D %{version}-%{release} # needed for device enumeration Requires: systemd >=3D 185 # For managing persistent mediated devices +%if 0%{?fedora} || 0%{?rhel} > 7 Requires: mdevctl +%endif =20 %description daemon-driver-nodedev The nodedev driver plugin for the libvirtd daemon, providing --=20 2.25.4