## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## 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 %global srcname towncrier %global common_description %{expand: Towncrier is a utility to produce useful, summarised news files for your project. Rather than reading the Git history as some newer tools to produce it, or having one single file which developers all write to, towncrier reads "news fragments" which contain information useful to end users.} Name: python-%{srcname} Version: 23.11.0 Release: %autorelease Summary: Building newsfiles for your project License: MIT URL: https://github.com/hawkowl/towncrier Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz # Relax hatchling, incremental deps Patch: towncrier-relax-deps.patch BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-twisted BuildRequires: git-core %description %{common_description} %package -n python3-%{srcname} Summary: %{summary} Provides: %{srcname} = %{version}-%{release} %description -n python3-%{srcname} %{common_description} %prep %autosetup -p1 -n %{srcname}-%{version} %generate_buildrequires %pyproject_buildrequires -t %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{srcname} %check %{py3_test_envvars} %{_bindir}/trial towncrier %files -n python3-%{srcname} -f %{pyproject_files} %doc README.rst %{_bindir}/towncrier %changelog ## START: Generated by rpmautospec * Wed Apr 17 2024 Adam Williamson - 23.11.0-1 - Update to 23.11.0 * Fri Jan 26 2024 Fedora Release Engineering - 22.12.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 22.12.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 22.12.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jun 28 2023 Python Maint - 22.12.0-4 - Rebuilt for Python 3.12 * Sun Mar 19 2023 Robert-André Mauchin - 22.12.0-3 - Disable some path dependent tests * Sun Mar 19 2023 Robert-André Mauchin - 22.12.0-2 - Add twisted back for test * Sun Mar 19 2023 Robert-André Mauchin - 22.12.0-1 - Update to 22.10.0 * Fri Jan 20 2023 Fedora Release Engineering - 21.9.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 21.9.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jun 23 2022 Robert-André Mauchin - 21.9.0-1 - Update to 21.9.0 Close: rhbz#2007798 * Thu Jun 23 2022 Robert-André Mauchin - 21.3.0-10 - Convert to new Python guidelines * Tue Jun 14 2022 Python Maint - 21.3.0-8 - Rebuilt for Python 3.11 * Mon Jun 13 2022 Python Maint - 21.3.0-7 - Bootstrap for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 21.3.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 21.3.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 21.3.0-4 - Rebuilt for Python 3.10 * Fri Jun 04 2021 Python Maint - 21.3.0-3 - Rebuilt for Python 3.10 * Thu Jun 03 2021 Python Maint - 21.3.0-2 - Bootstrap for Python 3.10 * Mon May 24 14:20:21 CEST 2021 Robert-André Mauchin - 21.3.0-1 - Update to 21.3.0 - Close: rhbz#1940717 * Wed Jan 27 2021 Fedora Release Engineering - 19.2.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 19.2.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun May 24 2020 Miro Hrončok - 19.2.0-8 - Rebuilt for Python 3.9 * Sat May 23 2020 Miro Hrončok - 19.2.0-7 - Bootstrap for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 19.2.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 19.2.0-5 - Rebuilt for Python 3.8.0rc1 (#1748018) * Fri Aug 16 2019 Miro Hrončok - 19.2.0-4 - Rebuilt for Python 3.8 * Fri Aug 16 2019 Miro Hrončok - 19.2.0-3 - Bootstrap for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 19.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Mar 07 2019 Robert-André Mauchin - 19.2.0-1 - Release 19.2.0 - Run tests * Tue Feb 26 2019 Miro Hrončok - 17.8.0-6 - Provide towncrier * Sat Feb 02 2019 Fedora Release Engineering - 17.8.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Sep 12 2018 Robert-André Mauchin - 17.8.0-4 - Remove Python 2 subpackage * Sat Jul 14 2018 Fedora Release Engineering - 17.8.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 17.8.0-2 - Rebuilt for Python 3.7 * Mon May 14 2018 Robert-André Mauchin - 17.8.0-1 - Initial package. ## END: Generated by rpmautospec