## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %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-blurb Version: 1.2.1 Release: %autorelease Summary: Command-line tool to manage CPython Misc/NEWS.d entries License: BSD-3-Clause URL: https://github.com/python/blurb Source: %{pypi_source blurb %{version}} # Allow running blurb test from blurb-* directories Patch: https://github.com/python/blurb/pull/24.patch BuildArch: noarch BuildRequires: python3-devel %description Blurb is a tool designed to rid CPython core development of the scourge of Misc/NEWS conflicts. %package -n python3-blurb Summary: %{summary} Provides: blurb = %{version}-%{release} # Calls git in subprocess Requires: /usr/bin/git %description -n python3-blurb Blurb is a tool designed to rid CPython core development of the scourge of Misc/NEWS conflicts. %prep %autosetup -p1 -n blurb-%{version} # avoid code coverage dependencies sed -i '/"pytest-cov"/d' pyproject.toml # script in site-packages sed -i '1d' src/blurb/blurb.py chmod -x src/blurb/blurb.py %generate_buildrequires %pyproject_buildrequires -x tests %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l blurb %check %pytest -v %{py3_test_envvars} blurb --help %{py3_test_envvars} %{python3} -m blurb --help %{py3_test_envvars} blurb test %{py3_test_envvars} %{python3} -m blurb test %files -n python3-blurb -f %{pyproject_files} %doc README.md %{_bindir}/blurb %changelog ## START: Generated by rpmautospec * Mon Jul 22 2024 Miro Hrončok - 1.2.1-2 - Allow running blurb test from blurb-* directories * Fri Jul 19 2024 Miro Hrončok - 1.2.1-1 - Update to 1.2.1 - Fixes python3 -m blurb - Fixes: rhbz#2298534 * Fri Jul 19 2024 Fedora Release Engineering - 1.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sun Jul 14 2024 Miro Hrončok - 1.2.0-1 - Update to 1.2.0 - Fixes: rhbz#2296200 - Update the upstream URL * Mon Jul 08 2024 Miro Hrončok - 1.1.0-13 - Update the License tag to SPDX * Fri Jun 07 2024 Python Maint - 1.1.0-12 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 1.1.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 1.1.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 1.1.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 1.1.0-5 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 1.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 1.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 1.1.0-2 - Rebuilt for Python 3.11 * Wed Apr 20 2022 Petr Viktorin - 1.1.0-1 - Version 1.1.0 Support GitHub Issues in addition to b.p.o (bugs.python.org). * Fri Jan 21 2022 Fedora Release Engineering - 1.0.8-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Aug 05 2021 Miro Hrončok - 1.0.8-6 - In %%check, test blurb --help * Fri Jul 23 2021 Fedora Release Engineering - 1.0.8-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1.0.8-4 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 1.0.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Oct 01 2020 Tomas Hrnciar - 1.0.8-2 - Backport patch to replace flit.ini with pyproject.toml needed by flit 3.0.0 - Convert spec to use pyproject-rpm-macros * Thu Sep 24 2020 Tomas Hrnciar - 1.0.8-1 - Update to 1.0.8 - Only require /usr/bin/git, not full git * Tue Jul 28 2020 Fedora Release Engineering - 1.0.7-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 1.0.7-7 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 1.0.7-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 1.0.7-5 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 1.0.7-4 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.0.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 1.0.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Jul 23 2018 Miro Hrončok - 1.0.7-1 - Update to upstream 1.0.7 (#1598195) * Fri Jul 13 2018 Fedora Release Engineering - 1.0.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 1.0.5-3 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 1.0.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Nov 08 2017 Petr Viktorin - 1.0.5-1 - Update to upstream 1.0.5 * Thu Jul 27 2017 Fedora Release Engineering - 1.0.0-2.post1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Thu Jun 29 2017 Miro Hrončok - 1.0.0-1.post1 - rebuilt ## END: Generated by rpmautospec