From patchwork Wed Jul 3 16:42:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cole Robinson X-Patchwork-Id: 168430 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp1130352ilk; Wed, 3 Jul 2019 09:43:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqxvYJ1aougdcl47os6USSt6e9XDTSWbYWl81HOX7TUAT44vD+I+MNaYqphSVbHeCqo0nSLp X-Received: by 2002:ae9:c310:: with SMTP id n16mr32483550qkg.438.1562172207683; Wed, 03 Jul 2019 09:43:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562172207; cv=none; d=google.com; s=arc-20160816; b=UYnkX61/H/u/RUn7KblbytzskbvSJEYfuYApKjlAZbwSFHcA8zT/kMu0TNlivDpRVy +bH985AOKFVPHue4VDd9D4D1OkLC4ydboPmgmHZV0+qmp+MaFADkV3o4c5bEgfJLg0L2 +gPapdyYLyudHQP5O36neO7ZS+pGHPzst2bfMvqDcYehHVjmSwa/PbWR4ijPB7LcUzJV LTtlksXZYetayTRNOU76ejirWcjX5zszKARUTgCpW7ex6mon7of2q33vrQeBa11yHwGW 6Kq+Gqh9GSeNRCJb0FFEtOua97OG3cLAGVJOfMsrQ9rEwnpnPs0YgglSN6EOUYYMRWlx S8vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :delivered-to; bh=boOYjs7et4zhrOKlsofnPxoocCW6GhdFxTrrdey0oxo=; b=lktdhS8HrP5I3Ln4akK6blqmDLEFWxamWEUFDpzlKb/w/tI7HzJuRy94J4H+dnUjuu f9iiNAMJ04pPqjvAWWJz0AxJik05OEnqurkKbIOteQJcCudYGkL5MSsUgKVM069uChDF gRWxp015ies7an36MiPO6nJ91noaVJpednbKNKHJxpgd4M8rpHeHp3BIJc56Ajhi87Qo c1P5/Gz56KcnLUDgKoBQbzik45wxXn+6o1EOtst3XN/6H62sAZGA5tgC7O89f424m859 iaVRirL5BMSwwJkq2O9KSaBAbHtDLaa9XCRC/rvC2kQwmx3AYVkG2wb7bw/kPOOhp/Ka r0Zg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com. [209.132.183.28]) by mx.google.com with ESMTPS id l67si2309829qke.45.2019.07.03.09.43.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Jul 2019 09:43:27 -0700 (PDT) Received-SPF: pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; Authentication-Results: mx.google.com; spf=pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 261FA3082212; Wed, 3 Jul 2019 16:42:58 +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 A2DA61001B0E; Wed, 3 Jul 2019 16:42:51 +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 5DDD61833002; Wed, 3 Jul 2019 16:42:43 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x63GggxQ015893 for ; Wed, 3 Jul 2019 12:42:42 -0400 Received: by smtp.corp.redhat.com (Postfix) id 00B06BABB; Wed, 3 Jul 2019 16:42:42 +0000 (UTC) Delivered-To: libvirt-list@redhat.com Received: from worklaptop.redhat.com (ovpn-121-183.rdu2.redhat.com [10.10.121.183]) by smtp.corp.redhat.com (Postfix) with ESMTP id 50ACD84E7; Wed, 3 Jul 2019 16:42:36 +0000 (UTC) From: Cole Robinson To: libvirt-list@redhat.com Date: Wed, 3 Jul 2019 12:42:18 -0400 Message-Id: <30af17f17e1a87bd371d99666fabc0611339148f.1562172034.git.crobinso@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH python 1/2] spec: Unconditionally build python2 on Fedora 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.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.47]); Wed, 03 Jul 2019 16:43:09 +0000 (UTC) In Fedora we are currently shipping python2 bindings for all builds, so this conditional is out of date. Fedora 31 may be the time that python2 bindings are dropped: https://fedoraproject.org/wiki/Changes/F31_Mass_Python_2_Package_Removal But I think it's better to wait for that to actually happen before we change this again Signed-off-by: Cole Robinson --- libvirt-python.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list diff --git a/libvirt-python.spec.in b/libvirt-python.spec.in index 136c4ad..69d7555 100644 --- a/libvirt-python.spec.in +++ b/libvirt-python.spec.in @@ -13,7 +13,7 @@ %endif %define _with_python2 1 -%if 0%{?fedora} > 29 || 0%{?rhel} > 7 +%if 0%{?fedora} || 0%{?rhel} > 7 %define _with_python2 0 %endif