## START: Set by rpmautospec ## (rpmautospec version 0.2.6) %define autorelease(e:s:pb:) %{?-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*}}%{?dist} ## END: Set by rpmautospec %global pypi_name readme_renderer %global pkg_name readme-renderer Name: python-%{pkg_name} Version: 36.0 Release: %autorelease Summary: Library for rendering "readme" descriptions for Warehouse License: ASL 2.0 URL: https://github.com/pypa/readme_renderer Source0: %{pypi_source %{pypi_name}} BuildArch: noarch BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools %global _description %{expand: Readme Renderer Readme Renderer is a library that will safely render arbitrary README files into HTML. It is designed to be used in Warehouse_ to render the long_description for packages. It can handle Markdown, reStructuredText (.rst), and plain text.} %description %{_description} %package -n python%{python3_pkgversion}-%{pkg_name} Summary: %{summary} %description -n python%{python3_pkgversion}-%{pkg_name} %{_description} %prep %autosetup -n %{pypi_name}-%{version} %generate_buildrequires %pyproject_buildrequires -t %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{pypi_name} %check %pytest -v tests -k "not test_md_fixtures" %files -n python%{python3_pkgversion}-%{pkg_name} -f %{pyproject_files} %license LICENSE %doc README.rst %changelog * Fri Aug 19 2022 Fabian Affolter 36.0-1 - Update to latest upstream release 36.0 (closes rhbz#2116142) * Fri Jul 22 2022 Fedora Release Engineering 35.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 29 2022 Lumir Balhar 35.0-1 - Update to 35.0 * Mon Jun 13 2022 Python Maint 34.0-2 - Rebuilt for Python 3.11 * Fri Mar 25 2022 Fabian Affolter 34.0-1 - Update to latest upstream release 34.0 (closes rhbz#2063833) * Tue Mar 08 2022 Fabian Affolter 33.0-1 - Update to latest upstream release 33.0 (closes rhbz#2061135) * Wed Feb 23 2022 Fabian Affolter 32.0-1 - Update to latest upstream release 32.0 (closes rhbz#1932102) * Fri Jan 21 2022 Fedora Release Engineering 29.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering 29.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint 29.0-2 - Rebuilt for Python 3.10 * Wed Feb 24 2021 Fabian Affolter 29.0-1 - * Wed Feb 24 2021 Fabian Affolter - 29.0-1 - Update to latest upstream release 29.0 (#1932102) * Wed Jan 27 2021 Fedora Release Engineering 28.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Oct 22 2020 Fabian Affolter 28.0-1 - * Thu Oct 22 2020 Fabian Affolter - 28.0-1 - Update to latest upstream release 28.0 (#1887015) * Sun Oct 11 2020 Fabian Affolter 27.0-2 - Exclude failing tests * Sun Oct 11 2020 Fabian Affolter 27.0-1 - * Sun Oct 11 2020 Fabian Affolter - 27.0-1 - Update to latest upstream release 27.0 (#1813626) * Wed Jul 29 2020 Fedora Release Engineering 26.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok 26.0-4 - Rebuilt for Python 3.9 * Mon May 18 2020 Fabian Affolter 26.0-3 - Update release * Mon May 18 2020 Fabian Affolter 26.0-2 - * Mon May 18 2020 Fabian Affolter - 26.0-2 - Fix naming (rhbz#1834176) * Thu Apr 23 2020 Fabian Affolter 26.0-1 - * Thu Apr 23 2020 Fabian Affolter - 26.0-1 - Update to latest upstream release 26.0 (rhbz#1813626) * Thu Jan 30 2020 Fedora Release Engineering 24.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok 24.0-6 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok 24.0-5 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering 24.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering 24.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Dec 07 2018 Randy Barlow 24.0-2 - the commit of shame. * Fri Dec 07 2018 Randy Barlow 24.0-1 - Initial import (#1656628).