- 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
This commit is contained in:
Dirk Mueller 2021-02-23 11:55:13 +00:00 committed by Git OBS Bridge
parent ec840ef925
commit 0781249cb7
4 changed files with 20 additions and 11 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:86090f259a7c5d0d5caa3407a0e57c9e134027620cbc8f90bf4e37c8b53ed7b9
size 52831

BIN
pycups-2.0.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Tue Feb 23 11:54:47 UTC 2021 - Dirk Müller <dmueller@suse.com>
- 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 <code@bnavigator.de>

View File

@ -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