17
0

- Switch to Git source and update to version 3.2.0+git.1726768917.5eedea3:

* Use non-deprecated argument name in test-suite
  * Fixed issue in `Bugzilla.fix_url`
  * Prep for release 3.3.0
  * ci: bump actions/checkout from 3 to 4
  * ci: bump actions/setup-python from 4 to 5
  * Run functional RO tests in GitHub actions
  * man: Regenerate bugzilla.1
  * man: Add section about `bugzillarc`
  * Allow bug creation with an explicitly empty list of groups (closes #210)
  * cli: Support `--field` and `--field-json` for `bugzilla attach` (#206)
- Remove upstreamed patch 188-fix-api-key-leak.diff

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bugzilla?expand=0&rev=61
This commit is contained in:
2024-09-20 20:16:41 +00:00
committed by Git OBS Bridge
parent 12ca31875b
commit 00f91f630f
9 changed files with 95 additions and 78 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-bugzilla
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,27 +19,26 @@
%define oldpython python
%define skip_python2 1
Name: python-bugzilla
Version: 3.2.0
Version: 3.2.0+git.1726768917.5eedea3
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
# Source: https://files.pythonhosted.org/packages/source/p/python-bugzilla/python-bugzilla-%%{version}.tar.gz
Source: python-bugzilla-%{version}.tar.gz
# PATCH-FIX-UPSTREAM 106-basic-auth.diff bsc#1098219 mcepl@suse.com
# Fix basic authentication on bugzilla.suse.com
Patch0: 106-basic-auth.diff
# PATCH-FIX-UPSTREAM pending https://github.com/python-bugzilla/python-bugzilla/pull/188
# Fix API Key leak
Patch1: 188-fix-api-key-leak.diff
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module responses}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-requests
Requires(post): update-alternatives
Requires(postun):update-alternatives
Requires(postun): update-alternatives
Suggests: osc
Conflicts: %{oldpython}-bugzillatools
Obsoletes: python2-bugzilla
@@ -82,6 +81,6 @@ export CFLAGS="%{optflags}"
%python_alternative %{_bindir}/bugzilla
%python_alternative %{_mandir}/man1/bugzilla.1%{ext_man}
%{python_sitelib}/bugzilla
%{python_sitelib}/python_bugzilla-%{version}-py*.egg-info
%{python_sitelib}/python_bugzilla-3.3.0*-info
%changelog