From 36c8c259aef9e7235499130498173bf255e7d5ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Date: Tue, 7 May 2019 16:14:12 +0100 Subject: [PATCH] Update to 5.3.0 release MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Daniel P. Berrangé --- libvirt-python.spec | 21 ++++++++++++++++++++- sources | 2 +- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/libvirt-python.spec b/libvirt-python.spec index ee62c9f..ef01048 100644 --- a/libvirt-python.spec +++ b/libvirt-python.spec @@ -33,7 +33,7 @@ Summary: The libvirt virtualization API python2 binding Name: libvirt-python -Version: 5.2.0 +Version: 5.3.0 Release: 1%{?dist} Source0: http://libvirt.org/sources/python/%{name}-%{version}.tar.gz Url: http://libvirt.org @@ -119,18 +119,34 @@ exit 1 %endif %if %{with_python2} +%if 0%{?fedora} || 0%{?rhel} >= 8 +%py2_build +%else CFLAGS="$RPM_OPT_FLAGS" %{__python2} setup.py build %endif +%endif %if %{with_python3} +%if 0%{?fedora} || 0%{?rhel} >= 8 %py3_build +%else +CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build +%endif %endif %install %if %{with_python2} +%if 0%{?fedora} || 0%{?rhel} >= 8 +%py2_install +%else %{__python2} setup.py install --skip-build --root=%{buildroot} %endif +%endif %if %{with_python3} +%if 0%{?fedora} || 0%{?rhel} >= 8 %py3_install +%else +%{__python3} setup.py install --skip-build --root=%{buildroot} +%endif %endif %check @@ -167,6 +183,9 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python2} setup.py build %endif %changelog +* Tue May 7 2019 Daniel P. Berrangé - 5.3.0-1 +- Update to 5.3.0 release + * Wed Apr 3 2019 Daniel P. Berrangé - 5.2.0-1 - Update to 5.2.0 release diff --git a/sources b/sources index 3f22e6b..3428320 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libvirt-python-5.2.0.tar.gz) = afee2dcaf08d530e6298fdf2db674af217b9e4115941258b5815aba00087d96db6eb421c9854d7dca0f9dfe24069df72aadd969c924545e72be216f01bc173cc +SHA512 (libvirt-python-5.3.0.tar.gz) = 442cca3a47be90470442912a482d95bb7e5589b867648fc9570da235bfc4507e7dbec7e807ba5dfb68fe7ff1b67552ec8b5ac81b1fcdb12c15553f376531da3d