15
0

- Update URL.

- Add patch support-click-8.2.patch:
  * Support Click 8.2+ changes.
- Add patch fix-cli-test-fails-with-yes.patch:
  * Invoke ourselves with --yes to avoid interactive prompts.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-towncrier?expand=0&rev=11
This commit is contained in:
2025-07-21 04:35:27 +00:00
committed by Git OBS Bridge
parent 9854984349
commit 0908db9870
4 changed files with 101 additions and 3 deletions

View File

@@ -22,9 +22,12 @@ Version: 24.8.0
Release: 0
Summary: Building newsfiles for your project
License: MIT
Group: Development/Languages/Python
URL: https://github.com/hawkowl/towncrier
URL: https://github.com/twisted/towncrier
Source: https://files.pythonhosted.org/packages/source/t/towncrier/towncrier-%{version}.tar.gz
# PATCH-FIX-UPSTREAM Based on gh#twisted/towncrier#709/commits/2fee0e7f103161175424867c9716339a196bc957
Patch0: support-click-8.2.patch
# PATCH-FIX-UPSTREAM Based on gh#twisted/towncrier#709/commits/de71f131cd845ba76ae288292d7c3338716b82fd
Patch1: fix-cli-test-fails-with-yes.patch
BuildRequires: %{python_module Jinja2}
BuildRequires: %{python_module click}
BuildRequires: %{python_module hatchling}
@@ -58,7 +61,7 @@ BuildRequires: %{python_module pytest}
Building newsfiles for your project.
%prep
%setup -q -n towncrier-%{version}
%autosetup -p1 -n towncrier-%{version}
%build
%pyproject_wheel