From 4894ed2060d15993fb101f21838aff8453c9e7deef77944a9fd3f72a2fd21155 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 5 May 2023 11:05:34 +0000 Subject: [PATCH 1/4] - update to 0.3.2a0: * no upstream changelog available, see https://github.com/sphinx-contrib/sphinxcontrib-towncrier/compare/v0.2.1a0...v0.3.2a0 for details * python 3.10 and 3.11 enablement OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinxcontrib-towncrier?expand=0&rev=3 --- python-sphinxcontrib-towncrier.changes | 9 +++++++++ python-sphinxcontrib-towncrier.spec | 20 ++++++++++---------- sphinxcontrib-towncrier-0.2.1a0.tar.gz | 3 --- sphinxcontrib-towncrier-0.3.2a0.tar.gz | 3 +++ 4 files changed, 22 insertions(+), 13 deletions(-) delete mode 100644 sphinxcontrib-towncrier-0.2.1a0.tar.gz create mode 100644 sphinxcontrib-towncrier-0.3.2a0.tar.gz diff --git a/python-sphinxcontrib-towncrier.changes b/python-sphinxcontrib-towncrier.changes index 62e8f32..27f1fa2 100644 --- a/python-sphinxcontrib-towncrier.changes +++ b/python-sphinxcontrib-towncrier.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri May 5 11:03:24 UTC 2023 - Dirk Müller + +- update to 0.3.2a0: + * no upstream changelog available, see + https://github.com/sphinx-contrib/sphinxcontrib-towncrier/compare/v0.2.1a0...v0.3.2a0 + for details + * python 3.10 and 3.11 enablement + ------------------------------------------------------------------- Fri Jul 29 14:52:25 UTC 2022 - Torsten Gruner diff --git a/python-sphinxcontrib-towncrier.spec b/python-sphinxcontrib-towncrier.spec index 97a0667..9796e5b 100644 --- a/python-sphinxcontrib-towncrier.spec +++ b/python-sphinxcontrib-towncrier.spec @@ -1,7 +1,7 @@ # -# spec file for package python-sphinxcontrib-towncrier +# spec file # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" %define psuffix -test @@ -23,25 +24,24 @@ %define psuffix %{nil} %bcond_with test %endif -%define skip_python2 1 -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?sle15_python_module_pythons} Name: python-sphinxcontrib-towncrier%{psuffix} -Version: 0.2.1a0 +Version: 0.3.2a0 Release: 0 Summary: An RST directive for injecting a Towncrier-generated changelog draft License: BSD-3-Clause URL: https://github.com/sphinx-contrib/sphinxcontrib-towncrier Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-towncrier/sphinxcontrib-towncrier-%{version}.tar.gz -BuildRequires: python-rpm-macros -BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools_scm} +BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros # SECTION test requirements %if %{with test} -BuildRequires: %{python_module pytest} -BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module Sphinx} -BuildRequires: %{python_module towncrier >= 19.2} +BuildRequires: %{python_module pytest-xdist} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module sphinxcontrib-towncrier} +BuildRequires: %{python_module towncrier >= 19.2} %endif # /SECTION BuildRequires: fdupes diff --git a/sphinxcontrib-towncrier-0.2.1a0.tar.gz b/sphinxcontrib-towncrier-0.2.1a0.tar.gz deleted file mode 100644 index 5c18855..0000000 --- a/sphinxcontrib-towncrier-0.2.1a0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b15ee84aa6288173487988514b589155ef38ac6c55ab014a774102f9dc884f41 -size 39391 diff --git a/sphinxcontrib-towncrier-0.3.2a0.tar.gz b/sphinxcontrib-towncrier-0.3.2a0.tar.gz new file mode 100644 index 0000000..50510bd --- /dev/null +++ b/sphinxcontrib-towncrier-0.3.2a0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7cf18ac9c13533fffdb794dab278c6ad845f8c85bfa56942eba077d543885fa6 +size 46802 From bd823d54ccdd7bb3717fba6cb920d67a56677437ac562ed3a74f42fa258e6c9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Fri, 5 May 2023 13:13:27 +0000 Subject: [PATCH 2/4] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinxcontrib-towncrier?expand=0&rev=4 --- python-sphinxcontrib-towncrier.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/python-sphinxcontrib-towncrier.spec b/python-sphinxcontrib-towncrier.spec index 9796e5b..bc2a52f 100644 --- a/python-sphinxcontrib-towncrier.spec +++ b/python-sphinxcontrib-towncrier.spec @@ -40,6 +40,7 @@ BuildRequires: python-rpm-macros BuildRequires: %{python_module Sphinx} BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module sphinxcontrib-towncrier} BuildRequires: %{python_module towncrier >= 19.2} %endif From 1351b12c15a01073d3c923f9a667d10d2c6e63dfe6dc7ccd5d499a6c13b49dee Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 8 May 2023 21:22:00 +0000 Subject: [PATCH 3/4] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinxcontrib-towncrier?expand=0&rev=5 --- python-sphinxcontrib-towncrier.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/python-sphinxcontrib-towncrier.spec b/python-sphinxcontrib-towncrier.spec index bc2a52f..040b3ef 100644 --- a/python-sphinxcontrib-towncrier.spec +++ b/python-sphinxcontrib-towncrier.spec @@ -38,10 +38,10 @@ BuildRequires: python-rpm-macros # SECTION test requirements %if %{with test} BuildRequires: %{python_module Sphinx} -BuildRequires: %{python_module pytest-xdist} +#BuildRequires: %{python_module pytest-cov} +#BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module pytest-cov} -BuildRequires: %{python_module sphinxcontrib-towncrier} +BuildRequires: %{python_module sphinxcontrib-towncrier = %{version}} BuildRequires: %{python_module towncrier >= 19.2} %endif # /SECTION @@ -56,6 +56,7 @@ An RST directive for injecting a Towncrier-generated changelog draft containing %prep %setup -q -n sphinxcontrib-towncrier-%{version} +rm -v pytest.ini %build %python_build From 6a5aff0ed8d418ccf31b1c665b1b6702b3e7d6abc30fe951c0e1bb154c51c561 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 8 May 2023 21:22:11 +0000 Subject: [PATCH 4/4] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinxcontrib-towncrier?expand=0&rev=6 --- python-sphinxcontrib-towncrier.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/python-sphinxcontrib-towncrier.spec b/python-sphinxcontrib-towncrier.spec index 040b3ef..8bcc361 100644 --- a/python-sphinxcontrib-towncrier.spec +++ b/python-sphinxcontrib-towncrier.spec @@ -38,8 +38,6 @@ BuildRequires: python-rpm-macros # SECTION test requirements %if %{with test} BuildRequires: %{python_module Sphinx} -#BuildRequires: %{python_module pytest-cov} -#BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module pytest} BuildRequires: %{python_module sphinxcontrib-towncrier = %{version}} BuildRequires: %{python_module towncrier >= 19.2}