1
0

Accepting request 1087978 from devel:languages:python

- fixed the license tag to Apache-2.0

OBS-URL: https://build.opensuse.org/request/show/1087978
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-autodocsumm?expand=0&rev=12
This commit is contained in:
Dominique Leuenberger 2023-05-21 17:08:28 +00:00 committed by Git OBS Bridge
commit 096e28e367
2 changed files with 14 additions and 10 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri May 19 09:03:48 UTC 2023 - Jiri Srain <jsrain@suse.com>
- fixed the license tag to Apache-2.0
------------------------------------------------------------------- -------------------------------------------------------------------
Wed May 10 19:39:44 UTC 2023 - Dirk Müller <dmueller@suse.com> Wed May 10 19:39:44 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -16,19 +16,18 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1 %define skip_python2 1
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-autodocsumm Name: python-autodocsumm
Version: 0.2.11 Version: 0.2.11
Release: 0 Release: 0
Summary: Extended sphinx autodoc including automatic autosummaries Summary: Extended sphinx autodoc including automatic autosummaries
License: GPL-2.0-only License: Apache-2.0
URL: https://github.com/Chilipp/autodocsumm URL: https://github.com/Chilipp/autodocsumm
Source: https://github.com/Chilipp/autodocsumm/archive/v%{version}.tar.gz#/autodocsumm-%{version}.tar.gz Source: https://github.com/Chilipp/autodocsumm/archive/v%{version}.tar.gz#/autodocsumm-%{version}.tar.gz
BuildRequires: %{python_module devel} BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module versioneer} BuildRequires: %{python_module versioneer}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-Sphinx >= 2.2 Requires: python-Sphinx >= 2.2
@ -44,20 +43,20 @@ BuildRequires: %{python_module pytest}
Extended sphinx autodoc including automatic autosummaries Extended sphinx autodoc including automatic autosummaries
%prep %prep
%setup -q -n autodocsumm-%{version} %autosetup -p1 -n autodocsumm-%{version}
# Remove guard from Sphinx version # Remove guard from Sphinx version
sed -i 's/,<5.0//' setup.py sed -i 's/,<5.0//' setup.py
%build %build
%python_build %pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
%pytest %pytest
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files} %files %{python_files}
%doc README.rst %doc README.rst
%license LICENSE %license LICENSE