15
0

- Update to 2.7.1:

* Small fixes for Python 3.12 references
  * Parse artist role field
- Drop seperate LICENSE file

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-discogs-client?expand=0&rev=13
This commit is contained in:
2024-11-28 03:14:43 +00:00
committed by Git OBS Bridge
parent 308970a62f
commit 2cd4181006
5 changed files with 21 additions and 38 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-discogs-client
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2015 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
@@ -18,18 +18,18 @@
Name: python-discogs-client
Version: 2.6
Version: 2.7.1
Release: 0
Summary: Official Python API client for Discogs
Summary: Python API client for Discogs
License: BSD-2-Clause
Group: Development/Languages/Python
# URL: https://github.com/discogs/discogs_client discontinued
URL: https://github.com/joalla/discogs_client/
Source: https://github.com/joalla/discogs_client/archive/refs/tags/v%{version}.tar.gz
BuildRequires: %{python_module oauthlib}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module python-dateutil}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-oauthlib
@@ -49,10 +49,10 @@ and wantlists, inventory, and orders.
%autosetup -p1 -n discogs_client-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -60,7 +60,8 @@ and wantlists, inventory, and orders.
%files %{python_files}
%license LICENSE
%{python_sitelib}/discogs_client/
%{python_sitelib}/*discogs_client-%{version}-py*.egg-info
%doc README.md
%{python_sitelib}/discogs_client
%{python_sitelib}/python3_discogs_client-%{version}.dist-info
%changelog