From nobody Tue Nov 26 11:25:40 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) client-ip=207.211.31.81; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 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=1575643879; cv=none; d=zohomail.com; s=zohoarc; b=OhxWdmBrwP4W+AbAx/TAM6acG6RS+1XLBw8sgAyEbn3VLGJdAk32bH7HDV3evtQh2gvjnp/Q1DA5Fxy4a0fJfEcgxWHhffeoYjqH4AJaN5O9qPaRPvwNh1sXw4ogJpHO9J2BwuecX/Det/Gw0NlXjVEKOlVZVdqQZk42rL1pQok= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1575643879; 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=hhQDPVbax0iXZhK8eRhuHFQWJDJhAlHR1C6nIatz5zE=; b=X6TeOvALtHOXz9y5VSIrudUuzdmteISuO1WeH4ScFGqYyHB97lRyaLuAXJnV/E7L6ZgaUkxNdR9lCg3q+cLcjiOOwHbqArVJDhNbClVmyrIsdLEW+PXX8PjD9odRP4sij87iCiXQoejos/Er4lB33hNjRXYubhWITtPxa0NTAvI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 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-delivery-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) by mx.zohomail.com with SMTPS id 1575643879580666.7823744856308; Fri, 6 Dec 2019 06:51:19 -0800 (PST) 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-71-TZZMhr9qMiOkdm7QrUEzfw-1; Fri, 06 Dec 2019 09:51:16 -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 E3BD0DB61; Fri, 6 Dec 2019 14:51:09 +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 ADCCE60135; Fri, 6 Dec 2019 14:51:09 +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 4FEAB1803C33; Fri, 6 Dec 2019 14:51:09 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id xB6Eoqfl016969 for ; Fri, 6 Dec 2019 09:50:52 -0500 Received: by smtp.corp.redhat.com (Postfix) id 0399E5D9E2; Fri, 6 Dec 2019 14:50:52 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-112-49.ams2.redhat.com [10.36.112.49]) by smtp.corp.redhat.com (Postfix) with ESMTP id C498B5D9E1; Fri, 6 Dec 2019 14:50:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1575643878; 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=hhQDPVbax0iXZhK8eRhuHFQWJDJhAlHR1C6nIatz5zE=; b=MEEkhDYADuZNTiBfg3a3928fS6fgPS0M+AUhrWIhv+NqLtnKuVwlVyKKSedmraNidqFEJV s2YCDmBSV5eJTqBmNyPQAtGkKqOvLQvg9oOHrWnWiQIevMWBZpNUcViB3dEzQkIh7tE0f1 qhwtTPKf+UkuPlZjKqrjSYXoSGbIi8g= From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Date: Fri, 6 Dec 2019 14:50:28 +0000 Message-Id: <20191206145042.3777845-4-berrange@redhat.com> In-Reply-To: <20191206145042.3777845-1-berrange@redhat.com> References: <20191206145042.3777845-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 03/17] rpm: use python3-docutils as the direct dep 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 X-MC-Unique: TZZMhr9qMiOkdm7QrUEzfw-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) We no longer support python2, so using a file based dep for rst2html is not required. We do still have to do special casing for RHEL-7 though as the RPM is annoyingly different. Signed-off-by: Daniel P. Berrang=C3=A9 --- libvirt.spec.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index 4999df525e..8e05d3d0ea 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -266,8 +266,11 @@ BuildRequires: gettext-devel BuildRequires: libtool %endif BuildRequires: /usr/bin/pod2man -# Replace with python3-docutils when we drop py2 support -BuildRequires: /usr/bin/rst2html +%if 0%{?rhel} =3D=3D 7 +BuildRequires: python36-docutils +%else +BuildRequires: python3-docutils +%endif BuildRequires: gcc BuildRequires: git %if 0%{?fedora} || 0%{?rhel} > 7 --=20 2.23.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list