- Install doc and license
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coreapi?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
81ca8c9ab2
commit
aa335068b7
@@ -24,7 +24,8 @@ Summary: Python client library for Core API
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/core-api/python-client
|
||||
Source: https://github.com/core-api/python-client/archive/2.3.3.tar.gz#/coreapi-%{version}.tar.gz
|
||||
Source: https://github.com/core-api/python-client/archive/%{version}.tar.gz#/coreapi-%{version}.tar.gz
|
||||
Source1: https://raw.githubusercontent.com/core-api/python-client/master/LICENSE.md
|
||||
BuildRequires: %{python_module coreschema}
|
||||
BuildRequires: %{python_module itypes}
|
||||
BuildRequires: %{python_module pytest}
|
||||
@@ -46,6 +47,7 @@ for representing Web APIs.
|
||||
|
||||
%prep
|
||||
%setup -q -n python-client-%{version}
|
||||
cp %{SOURCE1} .
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -58,6 +60,8 @@ for representing Web APIs.
|
||||
%python_exec -m pytest
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.md
|
||||
%doc README.md
|
||||
%{python_sitelib}/coreapi/
|
||||
%{python_sitelib}/coreapi-%{version}-py*.egg-info
|
||||
|
||||
|
||||
Reference in New Issue
Block a user