## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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-markdown-include Version: 0.8.1 Release: %autorelease Summary: A Python-Markdown extension which provides an 'include' function # The overall license is GPL-3.0-only, based on the trove classifier “License # :: OSI Approved :: GNU General Public License v3 (GPLv3)” in setup.py and on # the contents of LICENSE.txt. However, the primary source file # markdown_include/include.py is clearly GPL-2.0-or-later based on its comment # header. License: GPL-3.0-only AND GPL-2.0-or-later URL: https://github.com/cmacmackin/markdown-include Source: %{pypi_source markdown-include} BuildArch: noarch BuildRequires: python3-devel %global common_description %{expand: This is an extension to Python-Markdown which provides an “include” function, similar to that found in LaTeX (and also the C pre-processor and Fortran). It was originally written for the FORD Fortran auto-documentation generator.} %description %{common_description} %package -n python3-markdown-include Summary: %{summary} %description -n python3-markdown-include %{common_description} %prep %autosetup -n markdown-include-%{version} %generate_buildrequires %pyproject_buildrequires -x tests %build %pyproject_wheel %install %pyproject_install %pyproject_save_files markdown_include %check %pytest %files -n python3-markdown-include -f %{pyproject_files} %doc README.md %changelog * Sat May 27 2023 Benjamin A. Beasley 0.8.1-2 - Do not number the sole Source * Tue Feb 07 2023 Benjamin A. Beasley 0.8.1-1 - Update to 0.8.1 (close RHBZ#2167689) * Fri Jan 20 2023 Fedora Release Engineering 0.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Nov 24 2022 Benjamin A. Beasley 0.8.0-1 - Update to 0.8.0 * Thu Nov 24 2022 Benjamin A. Beasley 0.6.0-15 - Update License to SPDX * Fri Jul 22 2022 Fedora Release Engineering 0.6.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint 0.6.0-13 - Rebuilt for Python 3.11 * Wed Apr 20 2022 Benjamin A. Beasley 0.6.0-12 - Drop “forge” macros, which are not doing much here * Fri Jan 21 2022 Fedora Release Engineering 0.6.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Oct 29 2021 Benjamin A. Beasley 0.6.0-10 - Use the new %%%%pyproject_check_import macro * Mon Sep 13 2021 Benjamin A. Beasley 0.6.0-9 - Let pyproject-rpm-macros handle the license file * Sun Sep 12 2021 Benjamin A. Beasley 0.6.0-8 - Drop BR on pyproject-rpm-macros, now implied by python3-devel * Sun Sep 12 2021 Benjamin A. Beasley 0.6.0-7 - Reduce macro indirection in the spec file * Tue Jul 27 2021 Benjamin A. Beasley 0.6.0-6 - Move %%generate_buildrequires after %%prep to make the spec file easier to follow * Fri Jul 23 2021 Fedora Release Engineering 0.6.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Jul 08 2021 Benjamin A. Beasley - 0.6.0-3 - Add import “smoke tests” since there are no upstream tests * Fri Jun 04 2021 Python Maint - 0.6.0-2 - Rebuilt for Python 3.10 * Mon May 17 2021 Benjamin A. Beasley - 0.6.0-1 - Initial package