## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: python-mpd2 Version: 3.1.1 Release: %autorelease Summary: Python library providing a client interface for MPD License: LGPL-3.0-or-later URL: https://github.com/Mic92/python-mpd2 Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: %{_bindir}/tox %description Python library providing a client interface for MPD. %package -n python3-mpd2 BuildRequires: python3-devel BuildRequires: python3-setuptools Summary: Python 3 mpd2 module %description -n python3-mpd2 Python3 library providing a client interface for MPD. %package doc Summary: Examples for %{name} %description doc This package contains examples for %{name}. %prep %autosetup -n %{name}-%{version} -p1 echo "whitelist_externals = coverage" >> tox.ini # Remove unecessary shebang sed -i '/^#!\/usr\/bin\/env.*python$/ d' mpd/tests.py %generate_buildrequires %pyproject_buildrequires -t %build %pyproject_wheel %install %pyproject_install %pyproject_save_files mpd %check %{tox} %files -n python3-mpd2 -f %{pyproject_files} %doc README.rst %files doc %license LICENSE.txt %doc examples %changelog ## START: Generated by rpmautospec * Thu Sep 05 2024 FeRD (Frank Dana) - 3.1.1-1 - New upstream release * Fri Jul 19 2024 Fedora Release Engineering - 3.1.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sun Jun 09 2024 Python Maint - 3.1.0-9 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 3.1.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 3.1.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Tue Oct 24 2023 FeRD (Frank Dana) - 3.1.0-5 - Disable asyncio unit tests in Python 3.12+ * Fri Jan 21 2022 Fedora Release Engineering - 3.0.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 3.0.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 3.0.4-2 - Rebuilt for Python 3.10 * Sun Mar 28 2021 Ankur Sinha - 3.0.4-1 - Update to latest release * Wed Jan 27 2021 Fedora Release Engineering - 3.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Dec 24 2020 Ankur Sinha - 3.0.1-1 - Update to new release - Update coverage tweak * Wed Jul 29 2020 Fedora Release Engineering - 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sat Jun 27 2020 Ankur Sinha - 1.1.0-1 - Update to 1.1.0 * Tue May 26 2020 Miro Hrončok - 1.0.0-6 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 1.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 1.0.0-4 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 1.0.0-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Apr 11 2019 Ankur Sinha - 1.0.0-1 - Update to latest release * Sat Feb 02 2019 Fedora Release Engineering - 0.5.5-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Oct 18 2018 Zbigniew Jędrzejewski-Szmek - 0.5.5-11 - Subpackage python2-mpd2 has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Tue Jul 24 2018 Ankur Sinha - 0.5.5-10 - Correct macro * Fri Jul 20 2018 Ankur Sinha - 0.5.5-9 - Rebuild for https://fedoraproject.org/wiki/Changes/Move_usr_bin_python_into_separate_package * Sat Jul 14 2018 Fedora Release Engineering - 0.5.5-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.5.5-7 - Rebuilt for Python 3.7 * Mon May 07 2018 Miro Hrončok - 0.5.5-6 - BuildRequire and invoke tox directly (allows us to drop python2-tox from the distro) - Use macro instead of hardcoded Python 3.6 version * Fri Feb 09 2018 Fedora Release Engineering - 0.5.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Nov 01 2017 Ankur Sinha - 0.5.5-4 - Use versioned python build requires * Sat Oct 28 2017 Ankur Sinha - 0.5.5-3 - Use git tags instead of commit info * Sat Oct 28 2017 Ankur Sinha - 0.5.5-2 - Changes based on suggestions in review ticket #1507235 - Improve summary - Add tests - Redo release string * Sun Aug 21 2016 Kushal Das 0.5.5-1 - Initial package ## END: Generated by rpmautospec