From nobody Thu May 2 01:55:28 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; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 153234453941920.195968595310887; Mon, 23 Jul 2018 04:15:39 -0700 (PDT) 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 867E0308A94E; Mon, 23 Jul 2018 11:15:37 +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 50036100194B; Mon, 23 Jul 2018 11:15:37 +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 C917618037EF; Mon, 23 Jul 2018 11:15:36 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w6NBFYES008156 for ; Mon, 23 Jul 2018 07:15:34 -0400 Received: by smtp.corp.redhat.com (Postfix) id 7145F2026DE8; Mon, 23 Jul 2018 11:15:34 +0000 (UTC) Received: from t460.redhat.com (unknown [10.33.36.97]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7335A2026D65; Mon, 23 Jul 2018 11:15:31 +0000 (UTC) From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Date: Mon, 23 Jul 2018 12:15:24 +0100 Message-Id: <20180723111526.10517-2-berrange@redhat.com> In-Reply-To: <20180723111526.10517-1-berrange@redhat.com> References: <20180723111526.10517-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-loop: libvir-list@redhat.com Subject: [libvirt] [python PATCH 1/3] rpm: use the versioned python2 macro names 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-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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.41]); Mon, 23 Jul 2018 11:15:38 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 The use of non-versioned python2 macro names is deprecated in Fedora Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Andrea Bolognani --- libvirt-python.spec.in | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/libvirt-python.spec.in b/libvirt-python.spec.in index f3940cc..589855e 100644 --- a/libvirt-python.spec.in +++ b/libvirt-python.spec.in @@ -58,7 +58,7 @@ BuildRequires: python3-lxml =20 # Don't want provides for python shared objects %if %{with_python2} -%{?filter_provides_in: %filter_provides_in %{python_sitearch}/.*\.so} +%{?filter_provides_in: %filter_provides_in %{python2_sitearch}/.*\.so} %endif %if %{with_python3} %{?filter_provides_in: %filter_provides_in %{python3_sitearch}/.*\.so} @@ -118,7 +118,7 @@ exit 1 %endif =20 %if %{with_python2} -CFLAGS=3D"$RPM_OPT_FLAGS" %{__python} setup.py build +CFLAGS=3D"$RPM_OPT_FLAGS" %{__python2} setup.py build %endif %if %{with_python3} CFLAGS=3D"$RPM_OPT_FLAGS" %{__python3} setup.py build @@ -126,7 +126,7 @@ CFLAGS=3D"$RPM_OPT_FLAGS" %{__python3} setup.py build =20 %install %if %{with_python2} -%{__python} setup.py install --skip-build --root=3D%{buildroot} +%{__python2} setup.py install --skip-build --root=3D%{buildroot} %endif %if %{with_python3} %{__python3} setup.py install --skip-build --root=3D%{buildroot} @@ -134,7 +134,7 @@ CFLAGS=3D"$RPM_OPT_FLAGS" %{__python3} setup.py build =20 %check %if %{with_python2} -%{__python} setup.py test +%{__python2} setup.py test %endif %if %{with_python3} %{__python3} setup.py test @@ -143,11 +143,11 @@ CFLAGS=3D"$RPM_OPT_FLAGS" %{__python3} setup.py build %if %{with_python2} %files -n python2-libvirt %doc ChangeLog AUTHORS NEWS README COPYING COPYING.LESSER examples/ -%{python_sitearch}/libvirt.py* -%{python_sitearch}/libvirt_qemu.py* -%{python_sitearch}/libvirt_lxc.py* -%{python_sitearch}/libvirtmod* -%{python_sitearch}/*egg-info +%{python2_sitearch}/libvirt.py* +%{python2_sitearch}/libvirt_qemu.py* +%{python2_sitearch}/libvirt_lxc.py* +%{python2_sitearch}/libvirtmod* +%{python2_sitearch}/*egg-info %endif =20 %if %{with_python3} --=20 2.17.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Thu May 2 01:55:28 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; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1532344545549532.0441328294795; Mon, 23 Jul 2018 04:15:45 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id DEA8530832E6; Mon, 23 Jul 2018 11:15:43 +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 A59F61948D; Mon, 23 Jul 2018 11:15:43 +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 3817918037EC; Mon, 23 Jul 2018 11:15:43 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w6NBFdxI008167 for ; Mon, 23 Jul 2018 07:15:40 -0400 Received: by smtp.corp.redhat.com (Postfix) id CD2892026D74; Mon, 23 Jul 2018 11:15:39 +0000 (UTC) Received: from t460.redhat.com (unknown [10.33.36.97]) by smtp.corp.redhat.com (Postfix) with ESMTP id 63F7B2026D65; Mon, 23 Jul 2018 11:15:35 +0000 (UTC) From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Date: Mon, 23 Jul 2018 12:15:25 +0100 Message-Id: <20180723111526.10517-3-berrange@redhat.com> In-Reply-To: <20180723111526.10517-1-berrange@redhat.com> References: <20180723111526.10517-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-loop: libvir-list@redhat.com Subject: [libvirt] [python PATCH 2/3] rpm: add BuildRequires on gcc 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-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.44]); Mon, 23 Jul 2018 11:15:44 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 The gcc RPM is no longer part of the default build root. Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Andrea Bolognani --- libvirt-python.spec.in | 1 + 1 file changed, 1 insertion(+) diff --git a/libvirt-python.spec.in b/libvirt-python.spec.in index 589855e..8709317 100644 --- a/libvirt-python.spec.in +++ b/libvirt-python.spec.in @@ -55,6 +55,7 @@ BuildRequires: python3-devel BuildRequires: python3-nose BuildRequires: python3-lxml %endif +BuildRequires: gcc =20 # Don't want provides for python shared objects %if %{with_python2} --=20 2.17.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Thu May 2 01:55:28 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; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 153234455238476.5773941870234; Mon, 23 Jul 2018 04:15:52 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 538F430820D7; Mon, 23 Jul 2018 11:15:50 +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 F3E98608E0; Mon, 23 Jul 2018 11:15:49 +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 970E918037F0; Mon, 23 Jul 2018 11:15:49 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w6NBFitQ008182 for ; Mon, 23 Jul 2018 07:15:44 -0400 Received: by smtp.corp.redhat.com (Postfix) id B82EC2026DE8; Mon, 23 Jul 2018 11:15:44 +0000 (UTC) Received: from t460.redhat.com (unknown [10.33.36.97]) by smtp.corp.redhat.com (Postfix) with ESMTP id C7CAE2026D65; Mon, 23 Jul 2018 11:15:40 +0000 (UTC) From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Date: Mon, 23 Jul 2018 12:15:26 +0100 Message-Id: <20180723111526.10517-4-berrange@redhat.com> In-Reply-To: <20180723111526.10517-1-berrange@redhat.com> References: <20180723111526.10517-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-loop: libvir-list@redhat.com Subject: [libvirt] [python PATCH 3/3] rpm: update min required rhel/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: , Content-Type: text/plain; charset="utf-8" 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.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.47]); Mon, 23 Jul 2018 11:15:51 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Andrea Bolognani --- libvirt-python.spec.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libvirt-python.spec.in b/libvirt-python.spec.in index 8709317..21dc713 100644 --- a/libvirt-python.spec.in +++ b/libvirt-python.spec.in @@ -3,8 +3,8 @@ # This spec file assumes you are building on a Fedora or RHEL version # that's still supported by the vendor. It may work on other distros # or versions, but no effort will be made to ensure that going forward -%define min_rhel 6 -%define min_fedora 25 +%define min_rhel 7 +%define min_fedora 27 =20 %if (0%{?fedora} && 0%{?fedora} >=3D %{min_fedora}) || (0%{?rhel} && 0%{?r= hel} >=3D %{min_rhel}) %define supported_platform 1 --=20 2.17.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list