From nobody Sat May 4 09:14:44 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1567439288; cv=none; d=zoho.com; s=zohoarc; b=D2Qxo3UGz6qmGFIUCJghTfPtxf2AaRREh+VwA/ZR5+IgSdnSFNZI5M/HGIoyAFnaMLqTULSN/T2225IeDqzxPHfX8iJKtrCLNtWEyRwJ/QZuNZ0qfscsyOsESD4CFUgDpcudYBh4YKsk913reE+sg44rv6jidJ8B60bArAuw5+0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1567439288; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To:ARC-Authentication-Results; bh=UT8DAy/iffFMBhMT9+K9sdCcN6JJOUdOwbllyvRwBfs=; b=PQD06LlgkmVTWZ9FKQtOpK95bi+R2ldDd0Hlwft/K81oOZYFTPVbJ9GlVl7wzWYWR93Ngl5mYQkN+e/k3aw3wn9/FT8GTPFThDyQ7i7z1Q+rB8TBD933ADTWEW0SnApw8vw90aRltM8xX/K8wDLq27WNX8KIZzpBa78EUrg/+aM= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1567439288497798.3445802870856; Mon, 2 Sep 2019 08:48:08 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 01E5B10A813C; Mon, 2 Sep 2019 15:48:06 +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 BC21B60BF3; Mon, 2 Sep 2019 15:48:03 +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 5370E1806B00; Mon, 2 Sep 2019 15:48:00 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x82FlwME003603 for ; Mon, 2 Sep 2019 11:47:58 -0400 Received: by smtp.corp.redhat.com (Postfix) id 883DB5C221; Mon, 2 Sep 2019 15:47:58 +0000 (UTC) Received: from mx1.redhat.com (ext-mx27.extmail.prod.ext.phx2.redhat.com [10.5.110.68]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D149D5C206; Mon, 2 Sep 2019 15:47:53 +0000 (UTC) Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E271AA36F04; Mon, 2 Sep 2019 15:47:52 +0000 (UTC) Received: by mail-wm1-f66.google.com with SMTP id c10so3182161wmc.0; Mon, 02 Sep 2019 08:47:52 -0700 (PDT) Received: from localhost.localdomain (93-173-30-191.bb.netvision.net.il. [93.173.30.191]) by smtp.gmail.com with ESMTPSA id s19sm29416424wrb.94.2019.09.02.08.47.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Sep 2019 08:47:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=UCyLOMdbKK4/kd2ASd2WOP+D8lMUjtT2zE6ssbqQMYA=; b=hjnVslDPFZx8KxdmwFRQ4kKGqOBnMbRLemxFVKqAjXkXIR+kUqwOp43j4mj2KCrroX D2PdVTEqq8/k1lvUsBgIT3tbU/rBq1Wmo5d1oQoi1MzfktxKhq0voSbOaq0nKG0SLcg0 ZLHLZr6+Qcw0Xb0Ked/PquQ+d6Z5epbarCT+AFGvw4y5NdV+mMxhSkqi+6vGFtnayA10 0O0ybtLjUP6gdHbKEBAWzT3gJPaYVJft/RKE8NwdclBaOXIY1HxFVJCQ61cgApW2CVuu tYaZ1FdUTBMGXcRfbIHO8VX4Xy2Q6FwN+35m6XU2W9lhcyBpLyHc+Wd+LxjKFw/rECla JJfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=UCyLOMdbKK4/kd2ASd2WOP+D8lMUjtT2zE6ssbqQMYA=; b=Q8qkhdma88Y+6A7OBePLyx//SMHMN0kvlg7gy/sCLxNzqnrf0Ztt7yvscMod7GCazV 0VFuIVAflOIWp44YdVTr+3LwhXxZEQZBg0o5XcYdrs0KzxSsmpqjWqSV2KSO2b2MVE3U 7KI5+mLLZzLdIK3tzFGPknau4I83zG3Yj00rKFYqIQ2qgpl/TZtUBMoDFkJxPVhlkP6n EtNGsx0bAGqRa2iOX0Nvlg11LawOXapyddcZQHHMj5cSYE4Hg1F5f5MEXnQXmDRodIpp qLvzy0/XHOWmX7Tq0VkivgpHnj5TALmTNDvaagQ7rtO7pkiPDtu3g+EBzOEK5Nv9U66b 0saQ== X-Gm-Message-State: APjAAAVG0f6gKoLPHQRFZ7+taeb8RA46QwY1qV89C2VJnd54P83fZkLB NmMd/bnH1qFz2NF4Rc6aOiCB7kmpJ7E= X-Google-Smtp-Source: APXvYqwMs3KDXAM6acS6MUpsCZ4L8W1ebhtdgeYlFMq5EqYywFEO1AM/QFK0NxlBHCLMCd1OAFhbVQ== X-Received: by 2002:a1c:4102:: with SMTP id o2mr15496037wma.66.1567439271239; Mon, 02 Sep 2019 08:47:51 -0700 (PDT) From: Nir Soffer X-Google-Original-From: Nir Soffer To: libvir-list@redhat.com Date: Mon, 2 Sep 2019 18:47:24 +0300 Message-Id: <20190902154724.21905-1-nsoffer@redhat.com> MIME-Version: 1.0 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (mx1.redhat.com [10.5.110.68]); Mon, 02 Sep 2019 15:47:53 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.6.2 (mx1.redhat.com [10.5.110.68]); Mon, 02 Sep 2019 15:47:53 +0000 (UTC) for IP:'209.85.128.66' DOMAIN:'mail-wm1-f66.google.com' HELO:'mail-wm1-f66.google.com' FROM:'nirsof@gmail.com' RCPT:'' X-RedHat-Spam-Score: -0.099 (DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS) 209.85.128.66 mail-wm1-f66.google.com 209.85.128.66 mail-wm1-f66.google.com X-Scanned-By: MIMEDefang 2.84 on 10.5.110.68 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com Cc: Nir Soffer , =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Subject: [libvirt] [PATCH python] spec: Build python2 package in fedora < 31 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (mx1.redhat.com [10.5.110.64]); Mon, 02 Sep 2019 15:48:07 +0000 (UTC) X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" Since commit ee0cfbe65c5d (spec: Unconditionally build python2 on Fedora) python2-libvirt is not built on any Fedora version. Fix the spec to drop python2-libvirt on Fedora 31. Signed-off-by: Nir Soffer Reviewed-by: Cole Robinson --- libvirt-python.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvirt-python.spec.in b/libvirt-python.spec.in index 64a30b5..8506840 100644 --- a/libvirt-python.spec.in +++ b/libvirt-python.spec.in @@ -13,7 +13,7 @@ %endif =20 %define _with_python2 1 -%if 0%{?fedora} || 0%{?rhel} > 7 +%if 0%{?fedora} > 30 || 0%{?rhel} > 7 %define _with_python2 0 %endif =20 --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list