From abd2f7b3910342bebaedb435da23a43b03a1c7ba089ef449c2af7f09a03491dd Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 19 May 2023 16:59:40 +0000 Subject: [PATCH 1/2] Accepting request 1087913 from home:jsrain:branches:devel:languages:python - fixed the license tag to Apache-2.0 OBS-URL: https://build.opensuse.org/request/show/1087913 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-autodocsumm?expand=0&rev=22 --- python-autodocsumm.changes | 5 +++++ python-autodocsumm.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-autodocsumm.changes b/python-autodocsumm.changes index 1138298..9887bfa 100644 --- a/python-autodocsumm.changes +++ b/python-autodocsumm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 19 09:03:48 UTC 2023 - Jiri Srain + +- fixed the license tag to Apache-2.0 + ------------------------------------------------------------------- Wed May 10 19:39:44 UTC 2023 - Dirk Müller diff --git a/python-autodocsumm.spec b/python-autodocsumm.spec index df4f527..b32dc7e 100644 --- a/python-autodocsumm.spec +++ b/python-autodocsumm.spec @@ -23,7 +23,7 @@ Name: python-autodocsumm Version: 0.2.11 Release: 0 Summary: Extended sphinx autodoc including automatic autosummaries -License: GPL-2.0-only +License: Apache-2.0 URL: https://github.com/Chilipp/autodocsumm Source: https://github.com/Chilipp/autodocsumm/archive/v%{version}.tar.gz#/autodocsumm-%{version}.tar.gz BuildRequires: %{python_module devel} From f34ca5d1f0ff9af3494c2f19687ba9f0bf53b14c65ac240ad3e229f8efbf994b Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 19 May 2023 17:01:58 +0000 Subject: [PATCH 2/2] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-autodocsumm?expand=0&rev=23 --- python-autodocsumm.spec | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/python-autodocsumm.spec b/python-autodocsumm.spec index b32dc7e..16eb5a5 100644 --- a/python-autodocsumm.spec +++ b/python-autodocsumm.spec @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 %{?sle15_python_module_pythons} Name: python-autodocsumm @@ -26,9 +25,9 @@ Summary: Extended sphinx autodoc including automatic autosummaries License: Apache-2.0 URL: https://github.com/Chilipp/autodocsumm Source: https://github.com/Chilipp/autodocsumm/archive/v%{version}.tar.gz#/autodocsumm-%{version}.tar.gz -BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pip} BuildRequires: %{python_module versioneer} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Sphinx >= 2.2 @@ -44,20 +43,20 @@ BuildRequires: %{python_module pytest} Extended sphinx autodoc including automatic autosummaries %prep -%setup -q -n autodocsumm-%{version} +%autosetup -p1 -n autodocsumm-%{version} # Remove guard from Sphinx version sed -i 's/,<5.0//' setup.py %build -%python_build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check %pytest -%install -%python_install -%python_expand %fdupes %{buildroot}%{$python_sitelib} - %files %{python_files} %doc README.rst %license LICENSE