Hello community,
here is the log from the commit of package python-dbus-python for
openSUSE:Factory checked in at 2017-04-28 10:35:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-dbus-python (Old)
and /work/SRC/openSUSE:Factory/.python-dbus-python.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-dbus-python"
Fri Apr 28 10:35:34 2017 rev:1 rq:486296 version:1.2.4
Changes:
--------
New Changes file:
--- /dev/null 2017-03-01 00:40:19.279048016 +0100
+++
/work/SRC/openSUSE:Factory/.python-dbus-python.new/python-dbus-python.changes
2017-04-28 10:35:35.577139979 +0200
@@ -0,0 +1,456 @@
+-------------------------------------------------------------------
+Wed Mar 8 17:21:51 UTC 2017 - [email protected]
+
+- Rename package from dbus-1-python to python-dbus-python to
+ conform to openSUSE package naming guidelines.
+- Switch to single-spec version
+- Update to version 1.2.4
+ + Enhancements:
+ * Continous integration metadata for travis-ci.org is now available.
+ Similar to dbus, this is split into .travis.yml (Travis-specifics)
+ and tools/ci-build.sh (intended to be useful for any CI framework,
+ although it does include various workarounds for travis-ci oddities).
+ (Simon McVittie)
+ + Fixes:
+ * Make dbus.version a tuple again, not a list, for consistent sorting.
+ This was a regression in 1.2.2. (Debian #816729, Simon McVittie)
+ * Use inspect.signature() instead of inspect.getargspec() on Python
+ versions that have it. inspect.getargspec() is deprecated in recent
+ Python 3 and seems to have disappeared from 3.6 nightly builds.
+ (Simon McVittie)
+ * Make the tests pass in "narrow" Python builds where unicode objects
+ are UTF-16, rather than the UCS-4 used in Linux distributions.
+ (fd.o #57140, Simon McVittie)
+ * Always include headers in a consistent order (Debian #749133, Simon
McVittie)
+ * Include config.h in all C code that we compile. This is necessary
+ on platforms where it might contain something like "#define _GNU_SOURCE"
+ or "#define inline __inline".
+ (Simon McVittie)
+- Update to version 1.2.2
+ + Versioning changes:
+ * dbus-python releases now have an even micro version (1.2.0, 1.2.2),
+ and snapshots from git have an odd micro version (1.2.1).
+ + Dependencies:
+ * Building from git (but not from tarballs) now requires
+ macros from the GNU Autoconf Archive, for example the autoconf-archive
+ package in Debian or Fedora derivatives.
+ * Building from git (but not from tarballs) now requires Automake 1.13
+ or later.
+ * The automated tests and some examples now require PyGI (the gi module),
+ not PyGObject 2 (the deprecated glib and gobject modules).
+ + Enhancements:
+ * There is now a setuptools setup.py, allowing dbus-python to be installed
+ into a virtualenv using pip from a standard Automake source release. This
+ requires pre-existing system-wide installations of the normal build
+ dependencies (pkg-config, libdbus, dbus-glib, a C compiler) and has
+ some limitations. For system-wide installations and development,
+ please use the Autoconf/Automake build system directly.
+ (fd.o #55439; Simon McVittie)
+ * dbus-python now uses the common compiler warnings from AX_COMPILER_FLAGS
+ (Simon McVittie)
+ * The automated tests can now be installed as GNOME-style "installed
tests",
+ and should be somewhat more reliable (Simon McVittie)
+ + Fixes:
+ * ``from dbus.service import *`` now imports FallbackObject
+ (fd.o #85720; Ben Longbons)
+ * The GConf-related examples work again (fd.o #85720; Ben Longbons)
+ * Consistently make examples executable, and install them all
+ (fd.o #85720; Ben Longbons)
+ * Search PATH for an appropriately-versioned pythonX.Y-config, or as a last
+ resort python-config, if there isn't a ${PYTHON}-config in the
+ same directory as ${PYTHON} (fd.o #92085; Yamashita, Yuu)
+ * Add support for the Automake 1.13 parallel test driver (Simon McVittie)
+ * Skip building API documentation if "import epydoc" fails (Simon McVittie)
+- Add python version-dependent and python version-indepent devel
+ packages.
+
+-------------------------------------------------------------------
+Sat Nov 16 07:02:42 UTC 2013 - [email protected]
+
+- Add missing dependency on python-gobject (bnc#850792)
+
+-------------------------------------------------------------------
+Mon Jun 3 18:03:27 UTC 2013 - [email protected]
+
+- Removed the %{RELEASE} from the dbus-1 Requires: entries (fixes also Factory
+ auto check).
+
+-------------------------------------------------------------------
+Sun Jun 2 20:55:23 UTC 2013 - [email protected]
+
+- Update to version 1.2.0:
+ Dependencies:
+ - libdbus 1.6 or later is now required.
+ Enhancements:
+ - Unicode Corrigendum 9: when used with a suitable version of libdbus
+ (1.6.10 or later, or 1.7.2 or later), noncharacters in strings are
+ now accepted
+ Fixes:
+ - Support DBusException('something with non—ASCII') under Python 2
+ (Michael Vogt, smcv; fd.o #55899)
+ - Correct some misleading wording in COPYING which was written under the
+ assumption that libdbus could actually be relicensed to MIT/X11
+ (Thiago Macieira)
+ - Avoid variable-length arrays, because MSVC++ is still stuck in 1998
+ (based on patches from Christoph Höger, fd.o #51725)
+ - Remove unnecessary uses of stdint.h (fd.o #51725)
+ - Add support for Unix compilers not supporting 'inline', for completeness
+ - Use GObject.__class__ instead of GObjectMeta, which can no longer be
+ imported from gi.repository.GObject in pygobject 3.8
+ - Fix autoreconfiscation on Automake 1.13 (Marko Lindqvist, fd.o #59006)
+- Removed libxml2-python runtime requirement (not needed).
+
+-------------------------------------------------------------------
+Mon Nov 19 18:33:18 UTC 2012 - [email protected]
+
+- Update to version 1.1.1:
+ Dependencies:
+ - libdbus 1.6 or later is now recommended. It is not strictly required yet.
+ Fixes:
+ - Validate UTF-8 according to the rules libdbus uses, falling back to our
+ own (inefficient) implementation if not compiled against dbus >= 1.6
+ (fdo#40817)
+ - Under Python 3, in the absence of introspection or signature='...',
+ pass dbus.ObjectPath or dbus.Signature arguments with the obvious
+ signature 'o' or 'g', not 's'. This previously only worked in Python 2.
+ (fdo#50740)
+ From version 1.1.0:
+ Deprecations:
+ - dbus.gobject_service is deprecated. Use dbus.gi_service and PyGI in new
+ code.
+ API changes:
+ - dbus.gobject_service works in legacy PyGObject 2 applications again,
+ like it did before 1.0. The down side is that it doesn't work in all PyGI
+ applications any more, unlike 1.0. In PyGI applications, depend on
+ dbus-python >= 1.1 and use dbus.gi_service instead - its API is the same.
+ (fdo#48904, deb#670516)
+ - dbus.gobject_service has been removed from Python 3 builds altogether.
+ Enhancements:
+ - Use DBusBasicValue from libdbus 1.5, if available, rather than reinventing
+ it
+ Fixes:
+ - Put sockets for the regression tests in /tmp, not the builddir, fixing
+ test failures in a really long builddir (fdo#46747)
+ - Fix a reference leak in dbus_py_variant_level_set (fdo#47108)
+ - Modify AM_CHECK_PYTHON_HEADERS so the "another way" works with Python 3
+
+-------------------------------------------------------------------
+Sun May 27 11:04:49 UTC 2012 - [email protected]
+
+- dbus-1-python3 package added
+
+-------------------------------------------------------------------
+Thu Mar 8 20:33:58 UTC 2012 - [email protected]
+
+- New upstream version 1.0.0:
+ Dependencies:
+ - libdbus 1.4 or later is now required.
+ - Python 2.6 or later is now required. If Python 3 is used, it must be
+ version 3.2 or later.
+ - GNU make (or, at your own risk, another make with the GNU $(patsubst)
+ extension) is now required.
+ API changes:
+ - dbus_bindings, which was never meant to be public API and has been
+ deprecated for nearly 5 years, has finally been removed.
+ - The repr() of every dbus-python object is now unicode.
+ - The Python 3 API is not the same as the Python 2 API; see PY3PORT.rst for
+ details.
+ Enhancements:
+ - Python 3 compatibility (fd.o #26420)
+ - MethodCallMessage and SignalMessage now have a more useful repr()
+ Fixes:
+ - OOM while appending a unicode object to a message no longer leaks a string
+ - If libdbus somehow gives us invalid UTF-8, don't crash
+ - Fix rst2html failure in non-UTF-8 locales
+ From version 0.84.0:
+ Enhancements:
+ - fd.o #30812: add the UnixFd type, and support Unix fd passing if compiled
+ against a new enough libdbus
+ - fd.o #34342: add Connection.set_allow_anonymous(bool)
+ - fd.o #21017: add configure arguments PYTHON_INCLUDES and PYTHON_LIBS which
+ can be used to override $PYTHON-config
+ Fixes:
+ - fd.o #35626: clear ProxyObject's pending introspection queue after
+ execution
+ - fd.o #22560: remove duplicate code from example-async-client
+ - fd.o #36206: allow signature='x' among ProxyObject method arguments
+- Spec file updates:
+ - Removed pyrex from BuildRequires: (not needed anymore).
+ - Removed "autoreconf -fi" from %build section and also libtool requirement
+ (not needed).
+ - Added epydoc and python-docutils in BuildRequires: to enable generation of
+ HTML docs and API documentation.
+
+-------------------------------------------------------------------
+Wed Jan 25 10:23:39 UTC 2012 - [email protected]
+
+- license update: MIT
+ SPDX format for MIT license
+
+-------------------------------------------------------------------
+Fri Sep 30 20:07:54 UTC 2011 - [email protected]
+
+- add libtool as buildrequire to make the spec file more reliable
+
+-------------------------------------------------------------------
+Sun Sep 18 17:17:12 UTC 2011 - [email protected]
+
++++ 259 more lines (skipped)
++++ between /dev/null
++++ and
/work/SRC/openSUSE:Factory/.python-dbus-python.new/python-dbus-python.changes
New:
----
dbus-python-1.2.4.tar.gz
python-dbus-python-rpmlintrc
python-dbus-python.changes
python-dbus-python.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-dbus-python.spec ++++++
#
# spec file for package python-dbus-python
#
# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-dbus-python
Version: 1.2.4
Release: 0
Summary: Python bindings for D-Bus
License: MIT
Group: Development/Libraries/Python
Url: http://www.freedesktop.org/wiki/Software/DBusBindings/
Source:
https://files.pythonhosted.org/packages/source/d/dbus-python/dbus-python-%{version}.tar.gz
Source99: python-dbus-python-rpmlintrc
BuildRequires: epydoc
BuildRequires: fdupes
BuildRequires: pkgconfig(dbus-1) >= 1.6.0
BuildRequires: pkgconfig(dbus-glib-1)
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel}
BuildRequires: %{python_module gobject}
BuildRequires: %{python_module docutils}
BuildRequires: %{python_module xml}
Requires: python-gobject
Requires: python-xml
%ifpython2
Provides: dbus-1-python = %{version}
Provides: dbus-1-python2 = %{version}
Obsoletes: dbus-1-python < %{version}
Obsoletes: dbus-1-python2 < %{version}
%endif
%ifpython3
Provides: dbus-1-python3 = %{version}
Obsoletes: dbus-1-python3 < %{version}
%endif
Requires: dbus-1 >= %( echo `rpm -q --queryformat '%{VERSION}' dbus-1`)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%python_subpackages
%description
D-Bus python bindings for use with python programs.
%package devel
Summary: Python bindings for D-Bus -- development files
Group: Development/Libraries/Python
Requires: python-devel
Requires: %{name} = %{version}
Requires: %{name}-common-devel = %{version}
Requires: dbus-1 >= %( echo `rpm -q --queryformat '%{VERSION}' dbus-1`)
Requires: dbus-1-devel >= %( echo `rpm -q --queryformat '%{VERSION}'
dbus-1-devel`)
%ifpython2
Provides: dbus-1-python-devel = %{version}
Provides: dbus-1-python2-devel = %{version}
Obsoletes: dbus-1-python-devel < %{version}
Obsoletes: dbus-1-python2-devel < %{version}
%endif
%ifpython3
Provides: dbus-1-python3-devel = %{version}
Obsoletes: dbus-1-python3-devel < %{version}
%endif
%description devel
D-Bus python bindings for use with python programs.
This package contains the development files for
Python bindings for D-Bus.
%package -n %{name}-common-devel
Summary: Python bindings for D-Bus -- shared development files
Requires: pkgconfig(dbus-1) >= 1.6.0
Requires: pkgconfig(dbus-glib-1)
Provides: %{python_module dbus-python-common-devel = %{version}}
%description -n %{name}-common-devel
D-Bus python bindings for use with python programs.
This package contains development files shared between
the Python2 and Python3 versions of the bindings.
%prep
%setup -q -n dbus-python-%{version}
# Remove Makefile* (fix rpmlint warning "makefile-junk")
rm -f examples/Makefile*
%build
export CFLAGS="%{optflags} -fstack-protector -fno-strict-aliasing -fPIC"
%define _configure ../configure
%{python_expand mkdir build_%{$python_bin_suffix}
pushd build_%{$python_bin_suffix}
export PYTHON=$python
export pythondir=%{$python_sitearch}
%configure --docdir=%{_docdir}/%{$python_prefix}-dbus-python
make %{?_smp_mflags}
popd
}
%install
%{python_expand pushd build_%{$python_bin_suffix}
%make_install
popd
# Remove libtool config files
rm -f %{buildroot}%{$python_sitearch}/*.la
#avoid conflicts with py2
mv %{buildroot}%{_includedir}/dbus-1.0/dbus/dbus-python.h \
%{buildroot}%{_includedir}/dbus-1.0/dbus/dbus-python-%{$python_bin_suffix}.h
mv %{buildroot}%{_libdir}/pkgconfig/dbus-python.pc \
%{buildroot}%{_libdir}/pkgconfig/dbus-python-%{$python_bin_suffix}.pc
mkdir -p %{buildroot}%{_docdir}/%{$python_prefix}-dbus-python-devel
mv
%{buildroot}%{_docdir}/%{$python_prefix}-dbus-python/{API_CHANGES.*,HACKING.*,PY3PORT.*,tutorial.*}
%{buildroot}%{_docdir}/%{$python_prefix}-dbus-python-devel/
}
%if 0%{?have_python2} && 0%{?have_python3}
# Check to make sure Python2 and Python3 versions of the header file and
pkgconfig file are the same
if [ ! cmp --silent
%{buildroot}%{_includedir}/dbus-1.0/dbus/dbus-python-%{python2_bin_suffix}.h
%{buildroot}%{_includedir}/dbus-1.0/dbus/dbus-python-%{python3_bin_suffix}.h ]
; then
echo "pkgconfig files are different between python 2 and python 3"
exit 1
fi
if [ ! cmp --silent
%{buildroot}%{_libdir}/pkgconfig/dbus-python-%{python2_bin_suffix}.pc
%{buildroot}%{_libdir}/pkgconfig/dbus-python-%{python3_bin_suffix}.pc ] ; then
echo "pkgconfig files are different between python 2 and python 3"
exit 1
fi
%endif
%{python_expand mv
%{buildroot}%{_includedir}/dbus-1.0/dbus/dbus-python-%{$python_bin_suffix}.h \
%{buildroot}%{_includedir}/dbus-1.0/dbus/dbus-python.h
mv %{buildroot}%{_libdir}/pkgconfig/dbus-python-%{$python_bin_suffix}.pc \
%{buildroot}%{_libdir}/pkgconfig/dbus-python.pc
ln -s %{_includedir}/dbus-1.0/dbus/dbus-python.h \
%{buildroot}%{_includedir}/dbus-1.0/dbus/dbus-python-%{$python_bin_suffix}.h
ln -s %{_libdir}/pkgconfig/dbus-python.pc \
%{buildroot}%{_libdir}/pkgconfig/dbus-python-%{$python_bin_suffix}.pc
}
%fdupes %{buildroot}
%files %{python_files}
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_docdir}/%{python_prefix}-dbus-python/
%{python_sitelib}/dbus/
%{python_sitearch}/_dbus_bindings.so
%{python_sitearch}/_dbus_glib_bindings.so
%files %{python_files devel}
%defattr(-,root,root,-)
%doc AUTHORS COPYING
%{_docdir}/%{python_prefix}-dbus-python-devel/
%{_includedir}/dbus-1.0/dbus/dbus-python-%{python_bin_suffix}.h
%{_libdir}/pkgconfig/dbus-python-%{python_bin_suffix}.pc
%files -n %{name}-common-devel
%defattr(-,root,root,-)
%doc AUTHORS COPYING
%doc doc/ examples/
%{_includedir}/dbus-1.0/dbus/dbus-python.h
%{_libdir}/pkgconfig/dbus-python.pc
%changelog
++++++ python-dbus-python-rpmlintrc ++++++
addFilter("doc-file-dependency .*")