forked from pool/python-sphinxcontrib-towncrier
Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 127d871700 | |||
| 0bf6992c82 |
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 16 06:12:24 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to pyroject macros.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jul 1 07:52:48 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Mon Jul 1 07:52:48 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-sphinxcontrib-towncrier
|
# spec file for package python-sphinxcontrib-towncrier
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -32,8 +32,10 @@ Summary: An RST directive for injecting a Towncrier-generated changelog d
|
|||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://github.com/sphinx-contrib/sphinxcontrib-towncrier
|
URL: https://github.com/sphinx-contrib/sphinxcontrib-towncrier
|
||||||
Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-towncrier/sphinxcontrib-towncrier-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-towncrier/sphinxcontrib-towncrier-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools_scm}
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
@@ -57,11 +59,11 @@ An RST directive for injecting a Towncrier-generated changelog draft containing
|
|||||||
rm -v pytest.ini
|
rm -v pytest.ini
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@@ -75,9 +77,8 @@ rm -v pytest.ini
|
|||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%dir %{python_sitelib}/sphinxcontrib
|
%dir %{python_sitelib}/sphinxcontrib
|
||||||
%dir %{python_sitelib}/sphinxcontrib/towncrier
|
%{python_sitelib}/sphinxcontrib/towncrier
|
||||||
%{python_sitelib}/sphinxcontrib/towncrier/*
|
%{python_sitelib}/sphinxcontrib_towncrier-%{version}.dist-info
|
||||||
%{python_sitelib}/sphinxcontrib_towncrier-*-info
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user