Tomáš Chvátal
2019-02-25 12:43:29 +00:00
committed by Git OBS Bridge
parent 81ca8c9ab2
commit aa335068b7
3 changed files with 39 additions and 1 deletions

View File

@@ -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