From 0781249cb7e94798b86a119fd06314a2c050d0105df3c9ef5c2c4ef5d0b80ff2 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 23 Feb 2021 11:55:13 +0000 Subject: [PATCH] - update to 2.0.1: * pypi required .tar.gz * cups.require couldn't handle version bigger than 1 * dropped macros for older CUPS < 2.0.0 * dropped Python 2 support and its related macros * update license headers * thread did not hold GIL when called Py_XDECREF() from destroy_TLS(), causing SIGSEGV(Fedora bug #1816107) * fixed several compiler warnings * fix silent error on Connection.printFiles() (patch by Wilbert Berendsen) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycups?expand=0&rev=15 --- pycups-1.9.74.tar.bz2 | 3 --- pycups-2.0.1.tar.gz | 3 +++ python-pycups.changes | 13 +++++++++++++ python-pycups.spec | 12 ++++-------- 4 files changed, 20 insertions(+), 11 deletions(-) delete mode 100644 pycups-1.9.74.tar.bz2 create mode 100644 pycups-2.0.1.tar.gz diff --git a/pycups-1.9.74.tar.bz2 b/pycups-1.9.74.tar.bz2 deleted file mode 100644 index 275b61b..0000000 --- a/pycups-1.9.74.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:86090f259a7c5d0d5caa3407a0e57c9e134027620cbc8f90bf4e37c8b53ed7b9 -size 52831 diff --git a/pycups-2.0.1.tar.gz b/pycups-2.0.1.tar.gz new file mode 100644 index 0000000..b4dc7f4 --- /dev/null +++ b/pycups-2.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:57434ce5f62548eb12949ca8217f066f4eeb21a5d6ab8b13471dce350e380c90 +size 62968 diff --git a/python-pycups.changes b/python-pycups.changes index ca2ec69..bff1942 100644 --- a/python-pycups.changes +++ b/python-pycups.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Tue Feb 23 11:54:47 UTC 2021 - Dirk Müller + +- update to 2.0.1: + * pypi required .tar.gz + * cups.require couldn't handle version bigger than 1 + * dropped macros for older CUPS < 2.0.0 + * dropped Python 2 support and its related macros + * update license headers + * thread did not hold GIL when called Py_XDECREF() from destroy_TLS(), causing SIGSEGV(Fedora bug #1816107) + * fixed several compiler warnings + * fix silent error on Connection.printFiles() (patch by Wilbert Berendsen) + ------------------------------------------------------------------- Sat Nov 21 10:49:51 UTC 2020 - Benjamin Greiner diff --git a/python-pycups.spec b/python-pycups.spec index b3bf928..0f1e01b 100644 --- a/python-pycups.spec +++ b/python-pycups.spec @@ -1,7 +1,7 @@ # # spec file for package python-pycups # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,15 +17,15 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define oldpython python +%global skip_python2 1 Name: python-pycups -Version: 1.9.74 +Version: 2.0.1 Release: 0 Summary: Python Bindings for CUPS License: GPL-2.0-or-later Group: Development/Libraries/Python URL: http://cyberelk.net/tim/software/pycups/ -Source: https://files.pythonhosted.org/packages/source/p/pycups/pycups-%{version}.tar.bz2 +Source: https://files.pythonhosted.org/packages/source/p/pycups/pycups-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: cups-devel BuildRequires: fdupes @@ -33,10 +33,6 @@ BuildRequires: python-rpm-macros # need to avoid cycle as cups-devel wants us (boo#1172407) #!BuildIgnore: cups-rpm-helper BuildRoot: %{_tmppath}/%{name}-%{version}-build -%ifpython2 -Obsoletes: %{oldpython}-cups < %{version} -Provides: %{oldpython}-cups = %{version} -%endif Obsoletes: python-cups < %{version} Provides: python-cups = %{version} %python_subpackages