Hello community,
here is the log from the commit of package python-libvirt-python for
openSUSE:Factory checked in at 2018-08-24 17:11:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-libvirt-python (Old)
and /work/SRC/openSUSE:Factory/.python-libvirt-python.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-libvirt-python"
Fri Aug 24 17:11:46 2018 rev:14 rq:631165 version:4.6.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-libvirt-python/python-libvirt-python.changes
2018-07-28 12:45:36.721012815 +0200
+++
/work/SRC/openSUSE:Factory/.python-libvirt-python.new/python-libvirt-python.changes
2018-08-24 17:11:47.962620328 +0200
@@ -1,0 +2,7 @@
+Mon Aug 13 20:19:02 UTC 2018 - [email protected]
+
+- Update to 4.6.0
+ - Add all new APIs and constants in libvirt 4.6.0
+- spec: remove %defattr
+
+-------------------------------------------------------------------
Old:
----
libvirt-python-4.5.0.tar.gz
libvirt-python-4.5.0.tar.gz.asc
New:
----
libvirt-python-4.6.0.tar.gz
libvirt-python-4.6.0.tar.gz.asc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-libvirt-python.spec ++++++
--- /var/tmp/diff_new_pack.XAaFgV/_old 2018-08-24 17:11:49.142621733 +0200
+++ /var/tmp/diff_new_pack.XAaFgV/_new 2018-08-24 17:11:49.142621733 +0200
@@ -20,7 +20,7 @@
%define srcname libvirt-python
Name: python-libvirt-python
Url: https://libvirt.org/
-Version: 4.5.0
+Version: 4.6.0
Release: 0
Summary: Library providing a virtualization API
License: LGPL-2.1-or-later
@@ -64,7 +64,6 @@
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%files %{python_files}
-%defattr(-,root,root)
%doc ChangeLog AUTHORS NEWS README COPYING COPYING.LESSER examples/
%{python_sitearch}/*
%pycache_only %{python3_sitearch}/__pycache__/*
++++++ libvirt-python-4.5.0.tar.gz -> libvirt-python-4.6.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/libvirt-python-4.5.0/ChangeLog
new/libvirt-python-4.6.0/ChangeLog
--- old/libvirt-python-4.5.0/ChangeLog 2018-07-02 22:18:22.000000000 +0200
+++ new/libvirt-python-4.6.0/ChangeLog 2018-08-06 11:41:42.000000000 +0200
@@ -1,3 +1,51 @@
+2018-07-23 Daniel P. Berrangé <[email protected]>
+
+ rpm: update min required rhel/fedora
+ Reviewed-by: Andrea Bolognani <[email protected]>
+
+
+2018-07-23 Daniel P. Berrangé <[email protected]>
+
+ rpm: add BuildRequires on gcc
+ The gcc RPM is no longer part of the default build root.
+
+ Reviewed-by: Andrea Bolognani <[email protected]>
+
+
+2018-07-23 Daniel P. Berrangé <[email protected]>
+
+ rpm: use the versioned python2 macro names
+ The use of non-versioned python2 macro names is deprecated in Fedora
+
+ Reviewed-by: Andrea Bolognani <[email protected]>
+
+
+2018-07-16 Daniel P. Berrangé <[email protected]>
+
+ travis: add libvirt 4.5.0 version to build matrix
+
+
+2018-07-16 Daniel P. Berrangé <[email protected]>
+
+ 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 <[email protected]>
+
+ spec: Remove Group: and %defattr
+ These are only needed for RHEL5 builds, which are no longer supported
+
+
https://lists.fedoraproject.org/archives/list/[email protected]/message/CMCUBB4SWS3URHTRRS3OPFM4HF5CGKBW/
+ https://fedoraproject.org/wiki/RPMGroups
+
+
+
2018-07-02 Daniel Veillard <[email protected]>
Release of libvirt-python-4.5.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/libvirt-python-4.5.0/PKG-INFO
new/libvirt-python-4.6.0/PKG-INFO
--- old/libvirt-python-4.5.0/PKG-INFO 2018-07-02 22:18:22.000000000 +0200
+++ new/libvirt-python-4.6.0/PKG-INFO 2018-08-06 11:41:42.000000000 +0200
@@ -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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/libvirt-python-4.5.0/libvirt-python.spec
new/libvirt-python-4.6.0/libvirt-python.spec
--- old/libvirt-python-4.5.0/libvirt-python.spec 2018-07-02
22:18:22.000000000 +0200
+++ new/libvirt-python-4.6.0/libvirt-python.spec 2018-08-06
11:41:42.000000000 +0200
@@ -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-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 @@
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 @@
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 @@
%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 @@
%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 @@
%check
%if %{with_python2}
-%{__python} setup.py test
+%{__python2} setup.py test
%endif
%if %{with_python3}
%{__python3} setup.py test
@@ -145,18 +143,16 @@
%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*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/libvirt-python-4.5.0/setup.py
new/libvirt-python-4.6.0/setup.py
--- old/libvirt-python-4.5.0/setup.py 2018-07-02 22:17:27.000000000 +0200
+++ new/libvirt-python-4.6.0/setup.py 2018-08-06 11:41:36.000000000 +0200
@@ -334,7 +334,7 @@
_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 = '[email protected]',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/libvirt-python-4.5.0/typewrappers.h
new/libvirt-python-4.6.0/typewrappers.h
--- old/libvirt-python-4.5.0/typewrappers.h 2018-07-02 22:16:59.000000000
+0200
+++ new/libvirt-python-4.6.0/typewrappers.h 2018-08-06 11:40:53.000000000
+0200
@@ -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))