forked from pool/python-bugzilla
- Update to 3.0.2:
- Fix API key leaking into requests exceptions
- Skip man page generation to fix build on Windows (Alexander Todorov)
- Drop python2 support
- New option bugzilla modify --minor-update option
- requests: use PYTHONBUGZILLA_REQUESTS_TIMEOUT env variable
- xmlrpc: Don't add api key to passed in user dictionary
- cli: Add query --extrafield, --includefield, --excludefield
- Revive bugzilla.rhbugzilla.RHBugzilla import path
- Bugzilla REST API support
- Add --json command line output option
- Add APIs for Bugzilla Groups (Pierre-Yves Chibon)
- Add Bugzilla.get_requests_session() API to access raw requests
Session
- Add Bugzilla.get_xmlrpc_proxy() API to access raw ServerProxy
- Add Bugzilla requests_session= init parameter to pass in auth, etc.
- Add bugzilla attach --ignore-obsolete (Čestmír Kalina)
- Add bugzilla login --api-key for API key prompting (Danilo C. L. de
Paula)
- Add bugzilla new --private
- Remove 106-basic-auth.diff, which is not necessary anymore.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bugzilla?expand=0&rev=50
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-bugzilla
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -19,14 +19,13 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define oldpython python
|
||||
Name: python-bugzilla
|
||||
Version: 2.3.0
|
||||
Version: 3.0.2
|
||||
Release: 0
|
||||
Summary: Python library for Bugzilla
|
||||
License: GPL-2.0-or-later
|
||||
Group: Development/Libraries/Python
|
||||
URL: https://github.com/python-bugzilla/python-bugzilla
|
||||
Source: https://files.pythonhosted.org/packages/source/p/python-bugzilla/python-bugzilla-%{version}.tar.gz
|
||||
Patch0: 106-basic-auth.diff
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module requests}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
@@ -49,8 +48,8 @@ It also includes a 'bugzilla' commandline client which can be used for quick,
|
||||
ad-hoc bugzilla jiggery-pokery.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%autosetup -p1
|
||||
|
||||
sed -i -e '1{/^#!\/usr\/bin\/env python/d}' bugzilla/_cli.py
|
||||
|
||||
%build
|
||||
|
||||
Reference in New Issue
Block a user