[Pkg-libvirt-commits] [Git][libvirt-team/libvirt-python][debian/sid] 3 commits: New upstream version 4.6.0

Guido Günther gitlab at salsa.debian.org
Tue Aug 14 14:57:45 BST 2018


Guido Günther pushed to branch debian/sid at Libvirt Packaging Team / libvirt-python


Commits:
2019ea63 by Guido Günther at 2018-08-14T13:21:13Z
New upstream version 4.6.0
- - - - -
2c43e1d5 by Guido Günther at 2018-08-14T13:21:23Z
Update upstream source from tag 'upstream/4.6.0'

Update to upstream version '4.6.0'
with Debian dir 1c0b4d4596df6b074b346535add4d21ee07de15e

- - - - -
174b0f38 by Guido Günther at 2018-08-14T13:22:48Z
Document changes and release 4.6.0-1

- - - - -


6 changed files:

- ChangeLog
- PKG-INFO
- debian/changelog
- libvirt-python.spec
- setup.py
- typewrappers.h


Changes:

=====================================
ChangeLog
=====================================
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,51 @@
+2018-07-23 Daniel P. Berrangé  <berrange at redhat.com>
+    
+    rpm: update min required rhel/fedora
+    Reviewed-by: Andrea Bolognani <abologna at redhat.com>
+    
+    
+2018-07-23 Daniel P. Berrangé  <berrange at redhat.com>
+    
+    rpm: add BuildRequires on gcc
+    The gcc RPM is no longer part of the default build root.
+    
+    Reviewed-by: Andrea Bolognani <abologna at redhat.com>
+    
+    
+2018-07-23 Daniel P. Berrangé  <berrange at redhat.com>
+    
+    rpm: use the versioned python2 macro names
+    The use of non-versioned python2 macro names is deprecated in Fedora
+    
+    Reviewed-by: Andrea Bolognani <abologna at redhat.com>
+    
+    
+2018-07-16 Daniel P. Berrangé  <berrange at redhat.com>
+    
+    travis: add libvirt 4.5.0 version to build matrix
+    
+    
+2018-07-16 Daniel P. Berrangé  <berrange at redhat.com>
+    
+    fix build with older libvirt missing virNWFilterBindingPtr
+    While we correctly disable all public API bindings that rely on
+    virNWFilterBindingPtr, the generator is still creating a helper function
+    that needs it - libvirt_virNWFilterBinding_pointer. Making this helper
+    conditional is a little hairy, so just provide a trivial typedef to keep
+    it happy.
+    
+    
+    
+2018-07-10 Cole Robinson  <crobinso at redhat.com>
+    
+    spec: Remove Group: and %defattr
+    These are only needed for RHEL5 builds, which are no longer supported
+    
+    https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/CMCUBB4SWS3URHTRRS3OPFM4HF5CGKBW/
+    https://fedoraproject.org/wiki/RPMGroups
+    
+    
+    
 2018-07-02 Daniel Veillard  <veillard at redhat.com>
     
     Release of libvirt-python-4.5.0


=====================================
PKG-INFO
=====================================
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: libvirt-python
-Version: 4.5.0
+Version: 4.6.0
 Summary: The libvirt virtualization API python binding
 Home-page: http://www.libvirt.org
 Author: Libvirt Maintainers


=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libvirt-python (4.6.0-1) unstable; urgency=medium
+
+  * [2019ea6] New upstream version 4.6.0
+
+ -- Guido Günther <agx at sigxcpu.org>  Tue, 14 Aug 2018 15:22:44 +0200
+
 libvirt-python (4.5.0-1) unstable; urgency=medium
 
   * [f1bae57] New upstream version 4.5.0


=====================================
libvirt-python.spec
=====================================
--- a/libvirt-python.spec
+++ b/libvirt-python.spec
@@ -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
 
 %if (0%{?fedora} && 0%{?fedora} >= %{min_fedora}) || (0%{?rhel} && 0%{?rhel} >= %{min_rhel})
     %define supported_platform 1
@@ -33,12 +33,11 @@
 
 Summary: The libvirt virtualization API python2 binding
 Name: libvirt-python
-Version: 4.5.0
+Version: 4.6.0
 Release: 1%{?dist}%{?extra_release}
 Source0: http://libvirt.org/sources/python/%{name}-%{version}.tar.gz
 Url: http://libvirt.org
 License: LGPLv2+
-Group: Development/Libraries
 BuildRequires: libvirt-devel == %{version}
 %if %{with_python2}
 %if %{py2_versioned_deps}
@@ -56,10 +55,11 @@ BuildRequires: python3-devel
 BuildRequires: python3-nose
 BuildRequires: python3-lxml
 %endif
+BuildRequires: gcc
 
 # 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}
@@ -77,7 +77,6 @@ of recent versions of Linux (and other OSes).
 Summary: The libvirt virtualization API python2 binding
 Url: http://libvirt.org
 License: LGPLv2+
-Group: Development/Libraries
 %{?python_provide:%python_provide python2-libvirt}
 Provides: libvirt-python = %{version}-%{release}
 Obsoletes: libvirt-python <= 3.6.0-1%{?dist}
@@ -94,7 +93,6 @@ of recent versions of Linux (and other OSes).
 Summary: The libvirt virtualization API python3 binding
 Url: http://libvirt.org
 License: LGPLv2+
-Group: Development/Libraries
 %{?python_provide:%python_provide python3-libvirt}
 Provides: libvirt-python3 = %{version}-%{release}
 Obsoletes: libvirt-python3 <= 3.6.0-1%{?dist}
@@ -121,7 +119,7 @@ exit 1
 %endif
 
 %if %{with_python2}
-CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
+CFLAGS="$RPM_OPT_FLAGS" %{__python2} setup.py build
 %endif
 %if %{with_python3}
 CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build
@@ -129,7 +127,7 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build
 
 %install
 %if %{with_python2}
-%{__python} setup.py install --skip-build --root=%{buildroot}
+%{__python2} setup.py install --skip-build --root=%{buildroot}
 %endif
 %if %{with_python3}
 %{__python3} setup.py install --skip-build --root=%{buildroot}
@@ -137,7 +135,7 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build
 
 %check
 %if %{with_python2}
-%{__python} setup.py test
+%{__python2} setup.py test
 %endif
 %if %{with_python3}
 %{__python3} setup.py test
@@ -145,18 +143,16 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build
 
 %if %{with_python2}
 %files -n python2-libvirt
-%defattr(-,root,root)
 %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
 
 %if %{with_python3}
 %files -n python3-libvirt
-%defattr(-,root,root)
 %doc ChangeLog AUTHORS NEWS README COPYING COPYING.LESSER examples/
 %{python3_sitearch}/libvirt.py*
 %{python3_sitearch}/libvirtaio.py*


=====================================
setup.py
=====================================
--- a/setup.py
+++ b/setup.py
@@ -334,7 +334,7 @@ class my_clean(clean):
 _c_modules, _py_modules = get_module_lists()
 
 setup(name = 'libvirt-python',
-      version = '4.5.0',
+      version = '4.6.0',
       url = 'http://www.libvirt.org',
       maintainer = 'Libvirt Maintainers',
       maintainer_email = 'libvir-list at redhat.com',


=====================================
typewrappers.h
=====================================
--- a/typewrappers.h
+++ b/typewrappers.h
@@ -27,6 +27,10 @@
 typedef ssize_t Py_ssize_t;
 #endif
 
+#if !LIBVIR_CHECK_VERSION(4, 5, 0)
+typedef struct _virNWFilterBinding *virNWFilterBindingPtr;
+#endif
+
 #define PyvirConnect_Get(v) (((v) == Py_None) ? NULL : \
         (((PyvirConnect_Object *)(v))->obj))
 



View it on GitLab: https://salsa.debian.org/libvirt-team/libvirt-python/compare/2d66bcfe75c08de258872905fb39c63943a8bc5c...174b0f38b17e21abbe2f21b5b180dfcbcfbcef91

-- 
View it on GitLab: https://salsa.debian.org/libvirt-team/libvirt-python/compare/2d66bcfe75c08de258872905fb39c63943a8bc5c...174b0f38b17e21abbe2f21b5b180dfcbcfbcef91
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-libvirt-commits/attachments/20180814/fd6c2df1/attachment-0001.html>


More information about the Pkg-libvirt-commits mailing list