%define module constantly Name: python-%{module} Version: 15.1.0 Release: %mkrel 9 Summary: Python library for symbolic constants License: MIT Group: Development/Python Url: https://pypi.org/project/constantly/ Source0: %{pypi_source %{module}} BuildArch: noarch %description Python library for symbolic constants. %package -n python3-%{module} Summary: Python 3 library for symbolic constants Group: Development/Python BuildArch: noarch BuildRequires: pkgconfig(python3) BuildRequires: python3dist(setuptools) %{?python_provide:%python_provide python3-%{module}} %description -n python3-%{module} Python 3 library for symbolic constants. %prep %setup -qn %{module}-%{version} %autopatch -p1 # Remove bundled egg-info rm -rf %{module}.egg-info %build %py3_build %install %py3_install %files -n python3-%{module} %doc README.rst %license LICENSE %{python3_sitelib}/%{module}/ %{python3_sitelib}/%{module}-%{version}-py%{python3_version}.egg-info/ %changelog * Wed Mar 23 2022 umeabot <umeabot> 15.1.0-9.mga9 + Revision: 1822228 - Mageia 9 Mass Rebuild * Sun Feb 06 2022 wally <wally> 15.1.0-8.mga9 + Revision: 1772194 - rebuild for python3.10 * Sun Mar 14 2021 wally <wally> 15.1.0-7.mga9 + Revision: 1702546 - rebuild for python 3.9 * Sun Feb 16 2020 umeabot <umeabot> 15.1.0-6.mga8 + Revision: 1530711 - Mageia 8 Mass Rebuild * Wed Sep 04 2019 wally <wally> 15.1.0-5.mga8 + Revision: 1437302 - rebuild for python3.8 - drop python2 support * Sat Jan 05 2019 wally <wally> 15.1.0-5.mga7 + Revision: 1349625 - rebuild for python3.7 * Thu Sep 20 2018 umeabot <umeabot> 15.1.0-4.mga7 + Revision: 1288453 - Mageia 7 Mass Rebuild * Tue Feb 20 2018 daviddavid <daviddavid> 15.1.0-3.mga7 + Revision: 1203510 - rename python-constantly to python2-constantly * Sat Aug 05 2017 pterjan <pterjan> 15.1.0-2.mga7 + Revision: 1135348 - Rebuild for python 3.6 * Sat Jul 29 2017 daviddavid <daviddavid> 15.1.0-1.mga7 + Revision: 1132253 - initial package python-constantly