diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 522b0cd..0000000 --- a/LICENSE +++ /dev/null @@ -1,26 +0,0 @@ -Copyright © 2015 Discogs. All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - - 1. Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - 2. Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY DISCOGS ''AS IS'' AND ANY EXPRESS OR IMPLIED -WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT -SHALL DISCOGS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING -IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY -OF SUCH DAMAGE. - -The views and conclusions contained in the software and documentation are those -of the authors and should not be interpreted as representing official policies, -either expressed or implied, of Discogs. diff --git a/python-discogs-client.changes b/python-discogs-client.changes index 1dff2fb..bd75c10 100644 --- a/python-discogs-client.changes +++ b/python-discogs-client.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Nov 28 03:14:29 UTC 2024 - Steve Kowalik + +- Update to 2.7.1: + * Small fixes for Python 3.12 references + * Parse artist role field +- Drop seperate LICENSE file + ------------------------------------------------------------------- Thu Apr 13 11:02:51 UTC 2023 - pgajdos@suse.com diff --git a/python-discogs-client.spec b/python-discogs-client.spec index 8981da4..bcaca70 100644 --- a/python-discogs-client.spec +++ b/python-discogs-client.spec @@ -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 diff --git a/v2.6.tar.gz b/v2.6.tar.gz deleted file mode 100644 index fdbabd6..0000000 --- a/v2.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b11545cbaf27cdfab1ae44f5fa439eb39c5803e3a4f659d6d5c4bed17c9bc15d -size 55315 diff --git a/v2.7.1.tar.gz b/v2.7.1.tar.gz new file mode 100644 index 0000000..95c181f --- /dev/null +++ b/v2.7.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6cc7fd29aa99181cf119ca14100290d3ebf5f5dfa19df4e94f1e4f551d1db28f +size 56452