Hello community, here is the log from the commit of package python-xcaplib for openSUSE:Factory checked in at 2020-05-19 14:47:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-xcaplib (Old) and /work/SRC/openSUSE:Factory/.python-xcaplib.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-xcaplib" Tue May 19 14:47:21 2020 rev:2 rq:806879 version:1.2.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-xcaplib/python-xcaplib.changes 2019-11-27 13:53:07.440380960 +0100 +++ /work/SRC/openSUSE:Factory/.python-xcaplib.new.2738/python-xcaplib.changes 2020-05-19 14:47:23.067929344 +0200 @@ -1,0 +2,16 @@ +Mon May 18 09:03:48 UTC 2020 - [email protected] + +- fix dependency declaration + +------------------------------------------------------------------- +Mon May 18 07:52:00 UTC 2020 - [email protected] + +- version update to 1.2.2 + * no upstream changelog + +------------------------------------------------------------------- +Mon May 18 07:25:39 UTC 2020 - Petr Gajdos <[email protected]> + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- Old: ---- python-xcaplib-release-1.2.1.tar.gz New: ---- python-xcaplib-release-1.2.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-xcaplib.spec ++++++ --- /var/tmp/diff_new_pack.LVlxvM/_old 2020-05-19 14:47:23.967931267 +0200 +++ /var/tmp/diff_new_pack.LVlxvM/_new 2020-05-19 14:47:23.971931275 +0200 @@ -1,6 +1,7 @@ # # spec file for package python-xcaplib # +# Copyright (c) 2020 SUSE LLC # Copyright (c) 2019, Martin Hauke <[email protected]> # # All modifications and additions to the file contributed by third parties @@ -15,9 +16,10 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-xcaplib -Version: 1.2.1 +Version: 1.2.2 Release: 0 Summary: Python library for managing XML documents on XCAP servers License: LGPL-2.0-or-later @@ -27,6 +29,9 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires(post): update-alternatives +Requires(postun): update-alternatives +Provides: xcaplib = %{version} %python_subpackages %description @@ -36,6 +41,15 @@ be directly accessed by HTTP. XCAPLib includes command-line XCAP client. +%package bash-completion +Summary: Bash Completion for Python XCAPlib +Group: Development/Libraries/Python +Requires: xcaplib = %{version} +Supplements: (xcaplib and bash) + +%description bash-completion +Bash completion for python's XCAP client library. + %prep %setup -q -n %{name}-release-%{version} @@ -44,6 +58,7 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/xcapclient %python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand find %{buildroot}%{$python_sitelib} -name "xcapclient.py" -exec sed -i -e '/^#!\//, 1d' {} \; install -Dpm 0644 bash_completion.d/xcapclient %{buildroot}%{_datadir}/bash-completion/completions/xcapclient @@ -52,12 +67,20 @@ # disable testsuite since it requires a live connection to an external XCAP server #%%pytest +%post +%python_install_alternative xcapclient + +%postun +%python_uninstall_alternative xcapclient + %files %{python_files} %license LICENSE %doc README xcapclient.ini.sample -%python3_only %{_bindir}/xcapclient -%python3_only %{_datadir}/bash-completion/completions/xcapclient +%python_alternative %{_bindir}/xcapclient %{python_sitelib}/xcaplib/ %{python_sitelib}/python_xcaplib-*-info +%files bash-completion +%{_datadir}/bash-completion/completions/xcapclient + %changelog ++++++ python-xcaplib-release-1.2.1.tar.gz -> python-xcaplib-release-1.2.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-xcaplib-release-1.2.1/LICENSE new/python-xcaplib-release-1.2.2/LICENSE --- old/python-xcaplib-release-1.2.1/LICENSE 2018-10-04 22:26:03.000000000 +0200 +++ new/python-xcaplib-release-1.2.2/LICENSE 2020-02-14 11:49:11.000000000 +0100 @@ -1,21 +1,15 @@ -Copyright (c) 2008-2016 AG Projects -http://ag-projects.com +Copyright 2008-2020 AG Projects -Author: Denis Bilenko, Saul Ibarra +License: LGPL-2.1+ -License: + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. -This package is free software; you can redistribute it and/or -modify it under the terms of the GNU Lesser General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. -This package is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public -License along with this package; if not, write to the Free Software -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 -USA. + For a copy of the license see https://www.gnu.org/licenses/lgpl-2.1.html diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-xcaplib-release-1.2.1/MANIFEST.in new/python-xcaplib-release-1.2.2/MANIFEST.in --- old/python-xcaplib-release-1.2.1/MANIFEST.in 2018-10-04 22:26:03.000000000 +0200 +++ new/python-xcaplib-release-1.2.2/MANIFEST.in 2020-02-14 11:49:11.000000000 +0100 @@ -1,9 +1,17 @@ -recursive-include debian changelog compat control copyright pycompat rules -recursive-include debian pyversions *.dirs -recursive-include debian/source format -recursive-include examples *.xml -recursive-include bash_completion.d xcapclient -recursive-include test *.py -include MANIFEST.in LICENSE TODO config.ini.sample -prune debian/python-xcaplib -prune debian/tmp +include LICENSE +include README +include TODO +include MANIFEST.in + +include xcapclient.ini.sample +include bash_completion.d/xcapclient + +include debian/changelog +include debian/compat +include debian/control +include debian/copyright +include debian/rules +include debian/source/format + +graft examples +graft test diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-xcaplib-release-1.2.1/debian/changelog new/python-xcaplib-release-1.2.2/debian/changelog --- old/python-xcaplib-release-1.2.1/debian/changelog 2018-10-04 22:26:03.000000000 +0200 +++ new/python-xcaplib-release-1.2.2/debian/changelog 2020-02-14 11:49:11.000000000 +0100 @@ -1,3 +1,19 @@ +python-xcaplib (1.2.2) unstable; urgency=medium + + * Removed commented out variable in debian rules + * Explicitly use python2 in shebang lines + * Refactored setup.py for PEP-8 compliance + * Removed unused version_info + * Simplified MANIFEST.in + * Updated license and copyright years + * Increased debian compatibility level to 11 + * Increased debian standards version to 4.5.0 + * Added dh-python to Build-Depends + * Use pybuild as debian build system + * Raised minimum version dependency for python-application + + -- Dan Pascu <[email protected]> Fri, 14 Feb 2020 12:48:49 +0200 + python-xcaplib (1.2.1) unstable; urgency=medium * Replaced deprecated function and fixed wrong order of arguments diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-xcaplib-release-1.2.1/debian/compat new/python-xcaplib-release-1.2.2/debian/compat --- old/python-xcaplib-release-1.2.1/debian/compat 2018-10-04 22:26:03.000000000 +0200 +++ new/python-xcaplib-release-1.2.2/debian/compat 2020-02-14 11:49:11.000000000 +0100 @@ -1 +1 @@ -9 +11 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-xcaplib-release-1.2.1/debian/control new/python-xcaplib-release-1.2.2/debian/control --- old/python-xcaplib-release-1.2.1/debian/control 2018-10-04 22:26:03.000000000 +0200 +++ new/python-xcaplib-release-1.2.2/debian/control 2020-02-14 11:49:11.000000000 +0100 @@ -2,12 +2,12 @@ Section: python Priority: optional Maintainer: Dan Pascu <[email protected]> -Build-Depends: debhelper (>= 9), python (>= 2.7) -Standards-Version: 3.9.8 +Build-Depends: debhelper (>= 11), dh-python, python (>= 2.7) +Standards-Version: 4.5.0 Package: python-xcaplib Architecture: all -Depends: ${python:Depends}, ${misc:Depends}, python-application (>= 1.1.5), python-lxml +Depends: ${python:Depends}, ${misc:Depends}, python-application (>= 2.0.0), python-lxml Recommends: python-eventlib Description: Python library for managing XML documents on XCAP server XCAP protocol allows a client to read, write, and modify application diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-xcaplib-release-1.2.1/debian/copyright new/python-xcaplib-release-1.2.2/debian/copyright --- old/python-xcaplib-release-1.2.1/debian/copyright 2018-10-04 22:26:03.000000000 +0200 +++ new/python-xcaplib-release-1.2.2/debian/copyright 2020-02-14 11:49:11.000000000 +0100 @@ -1,29 +1,15 @@ -This package was debianized by Denis Bilenko <[email protected]> +Copyright 2008-2020 AG Projects -Copyright (C) 2008-2010 AG Projects +License: LGPL-2.1+ -Author: Denis Bilenko + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. -License: - - This package is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This package is distributed in the hope that it will be useful, + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this package; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 - USA - -On Debian systems, the complete text of the GNU Lesser General -Public License can be found in `/usr/share/common-licenses/LGPL'. - -The Debian packaging is (C) 2008, Denis Bilenko <[email protected]> and -it is licensed under the LGPL, see above. + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + For a copy of the license see /usr/share/common-licenses/LGPL-2.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-xcaplib-release-1.2.1/debian/rules new/python-xcaplib-release-1.2.2/debian/rules --- old/python-xcaplib-release-1.2.1/debian/rules 2018-10-04 22:26:03.000000000 +0200 +++ new/python-xcaplib-release-1.2.2/debian/rules 2020-02-14 11:49:11.000000000 +0100 @@ -1,9 +1,7 @@ #!/usr/bin/make -f -#export DH_VERBOSE=1 - %: - dh $@ --with python2 + dh $@ --with python2 --buildsystem=pybuild override_dh_clean: dh_clean @@ -13,3 +11,4 @@ dh_install install -d debian/python-xcaplib/usr/share/bash-completion/completions/ install -m 0644 bash_completion.d/xcapclient debian/python-xcaplib/usr/share/bash-completion/completions/xcapclient + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-xcaplib-release-1.2.1/setup.py new/python-xcaplib-release-1.2.2/setup.py --- old/python-xcaplib-release-1.2.1/setup.py 2018-10-04 22:26:03.000000000 +0200 +++ new/python-xcaplib-release-1.2.2/setup.py 2020-02-14 11:49:11.000000000 +0100 @@ -1,22 +1,28 @@ -#!/usr/bin/env python +#!/usr/bin/python2 from distutils.core import setup from xcaplib import __version__ -setup(name = "python-xcaplib", - version = __version__, - author = "AG Projects", - author_email = "[email protected]", - url = "http://openxcap.org/", - description = "Client for managing full or partial XML documents on XCAP servers (RFC 4825)", - license = "LGPL", - platforms = ["Platform Independent"], - classifiers = [ - "Development Status :: 5 - Production/Stable", - "Intended Audience :: Service Providers", - "License :: OSI Approved :: Lesser General Public License (LGPL)", - "Operating System :: POSIX :: Linux", - "Programming Language :: Python", - ], - packages = ['xcaplib'], - scripts = ['xcapclient']) +setup( + name='python-xcaplib', + version=__version__, + + description='Client for managing full or partial XML documents on XCAP servers (RFC 4825)', + license='LGPL', + url='http://openxcap.org/', + + author='AG Projects', + author_email='[email protected]', + + platforms=['Platform Independent'], + classifiers=[ + 'Development Status :: 5 - Production/Stable', + 'Intended Audience :: Service Providers', + 'License :: OSI Approved :: Lesser General Public License (LGPL)', + 'Operating System :: POSIX :: Linux', + 'Programming Language :: Python', + ], + + packages=['xcaplib'], + scripts=['xcapclient'] +) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-xcaplib-release-1.2.1/xcapclient new/python-xcaplib-release-1.2.2/xcapclient --- old/python-xcaplib-release-1.2.1/xcapclient 2018-10-04 22:26:03.000000000 +0200 +++ new/python-xcaplib-release-1.2.2/xcapclient 2020-02-14 11:49:11.000000000 +0100 @@ -1,4 +1,5 @@ -#!/usr/bin/env python +#!/usr/bin/python2 + from xcaplib.xcapclient import main -main() +main() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-xcaplib-release-1.2.1/xcaplib/__init__.py new/python-xcaplib-release-1.2.2/xcaplib/__init__.py --- old/python-xcaplib-release-1.2.1/xcaplib/__init__.py 2018-10-04 22:26:03.000000000 +0200 +++ new/python-xcaplib-release-1.2.2/xcaplib/__init__.py 2020-02-14 11:49:11.000000000 +0100 @@ -1,3 +1,2 @@ -__version__ = '1.2.1' -version_info = (1, 2, 1, None, 0) +__version__ = '1.2.2' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-xcaplib-release-1.2.1/xcaplib/xcapclient.py new/python-xcaplib-release-1.2.2/xcaplib/xcapclient.py --- old/python-xcaplib-release-1.2.1/xcaplib/xcapclient.py 2018-10-04 22:26:03.000000000 +0200 +++ new/python-xcaplib-release-1.2.2/xcaplib/xcapclient.py 2020-02-14 11:49:11.000000000 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python2 """ %prog: Client for managing full or partial XML documents on XCAP servers (RFC 4825)
