## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## 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 %bcond check 0 Name: python-git-changelog Version: 2.7.0 Release: %autorelease Summary: Automatic Changelog generator using Jinja2 templates License: ISC URL: https://github.com/pawamoy/git-changelog Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildSystem: pyproject BuildOption(prep): -n git-changelog-%{version} %if %{with check} BuildRequires: python3dist(pytest) # griffe not packaged BuildRequires: python3dist(griffe) # mkdocstrings not packaged BuildRequires: python3dist(mkdocstrings) BuildRequires: python3dist(pytest-gitconfig) %endif BuildOption(install): -l git_changelog BuildRequires: git-core %global _description %{expand: git-changelog parses your commit messages to extract useful data that is then rendered using Jinja2 templates, for example to a changelog file formatted in Markdown. Each Git tag will be treated as a version of your project. Each version contains a set of commits, and will be an entry in your changelog. Commits in each version will be grouped by sections, depending on the commit coonvention you follow.} %description %_description %package -n python3-git-changelog Requires: git-core Summary: %{summary} %description -n python3-git-changelog %_description %prep -a %autosetup -n git-changelog-%{version} -S git sed -i 's/Jinja2>=[0-9]\+\.[0-9]\+/Jinja2/' pyproject.toml sed -i 's/platformdirs>=[0-9]\+\.[0-9]\+/platformdirs/' pyproject.toml git tag %{version} %if %{with check} %check %pytest %endif %files -n python3-git-changelog -f %{pyproject_files} %doc README.md %license LICENSE %{_bindir}/git-changelog %changelog ## START: Generated by rpmautospec * Thu Jan 01 2026 topazus - 2.7.0-1 - 2.7.0 * Fri Sep 19 2025 Python Maint - 2.5.2-8 - Rebuilt for Python 3.14.0rc3 bytecode * Fri Aug 15 2025 Python Maint - 2.5.2-7 - Rebuilt for Python 3.14.0rc2 bytecode * Fri Jul 25 2025 Fedora Release Engineering - 2.5.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Tue Jun 03 2025 Python Maint - 2.5.2-5 - Rebuilt for Python 3.14 * Sat Jan 18 2025 Fedora Release Engineering - 2.5.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Fri Jul 19 2024 Fedora Release Engineering - 2.5.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 2.5.2-2 - Rebuilt for Python 3.13 * Sun May 26 2024 topazus - 2.5.2-1 - 2.5.2; add packit file * Fri Jan 26 2024 Fedora Release Engineering - 0.4.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.4.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.4.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jun 15 2023 Python Maint - 0.4.2-8 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.4.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Nov 15 2022 Vanessa Kris - 0.4.2-6 - Added BuildRequires: python3-setuptools * Tue Nov 15 2022 Vanessa Kris - 0.4.2-5 - Added BuildRequires: python3-setuptools * Fri Jul 22 2022 Fedora Release Engineering - 0.4.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jun 14 2022 Python Maint - 0.4.2-3 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.4.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Nov 11 2021 Vanessa Christopher - 0.4.2-1 - Initial import (2017610). ## END: Generated by rpmautospec