%global module_name musicbrainzngs %{!?python3_pkgversion: %global python3_pkgversion 3} Name: python-musicbrainzngs Version: 0.7.1 Release: 5%{?dist} Summary: Python bindings for MusicBrainz NGS webservice License: BSD and ISC URL: https://github.com/alastair/python-musicbrainzngs Source0: https://github.com/alastair/python-musicbrainzngs#/python-%{module_name}-%{version}.tar.gz BuildArch: noarch %description This library implements webservice bindings for the MusicBrainz NGS site, also known as /ws/2. For more information on the MusicBrainz webservice see: https://wiki.musicbrainz.org/XML_Web_Service %package -n python%{python3_pkgversion}-%{module_name} Summary: Python %{python3_pkgversion} bindings for MusicBrainz NGS webservice %{?python_provide:%python_provide python%{python3_pkgversion}-%{module_name}} BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-nose %description -n python%{python3_pkgversion}-%{module_name} This library implements Python %{python3_pkgversion} webservice bindings for the MusicBrainz NGS site, also known as /ws/2. For more information on the MusicBrainz webservice see: https://wiki.musicbrainz.org/XML_Web_Service %prep %setup -q chmod a-x examples/*.py sed -i '1{\@^#!/usr/bin/env python@d}' examples/*.py %build %py3_build %install %py3_install %check rm -rf musicbrainzngs PYTHONPATH=%{buildroot}%{python3_sitelib} nosetests-%{python3_version} %files -n python%{python3_pkgversion}-%{module_name} %license COPYING %doc README.rst docs examples %{python3_sitelib}/* %changelog * Fri Jan 20 2023 Fedora Release Engineering - 0.7.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.7.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.7.1-3 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.7.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Dec 11 2021 Johannes Lips 0.7.1-1 - Update to latest upstream release 0.7.1 - Update URLs in package description - fixes bug #1685216 * Fri Jul 23 2021 Fedora Release Engineering - 0.5-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.5-23 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.5-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.5-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.5-20 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.5-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Nov 21 2019 luto@kernel.org - 0.5-18 - Remove Python 2 subpackages (#1775085) * Thu Oct 03 2019 Miro Hrončok - 0.5-17 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.5-16 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.5-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.5-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek - 0.5-13 - Drop explicit locale setting See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot * Sat Jul 14 2018 Fedora Release Engineering - 0.5-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.5-11 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 0.5-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.5-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.5-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 0.5-7 - Rebuild for Python 3.6 * Tue Jul 19 2016 Fedora Release Engineering - 0.5-6 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Thu Feb 04 2016 Fedora Release Engineering - 0.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Nov 27 2015 Ville Skyttä - 0.5-4 - Add python3 subpackage, update to current python packaging guidelines * Thu Jun 18 2015 Fedora Release Engineering - 0.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue Oct 07 2014 Andy Lutomirski - 0.5-2 - Remove BR: python2-devel * Tue Oct 07 2014 Andy Lutomirski - 0.5-1 - Bump to 0.5. * Fri Sep 13 2013 Ian Weller - 0.4-1 - Initial package build