forked from pool/python-coreapi-cli
- Switch to github tarball for tests
- Fix fdupes call OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coreapi-cli?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
fff8d779af
commit
c4012a1a78
@@ -24,7 +24,7 @@ Summary: An interactive command line client for Core API
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/core-api/coreapi-cli
|
||||
Source: https://files.pythonhosted.org/packages/source/c/coreapi-cli/coreapi-cli-%{version}.tar.gz
|
||||
Source: https://github.com/core-api/coreapi-cli/archive/%{version}.tar.gz
|
||||
Source1: LICENSE.md
|
||||
BuildRequires: %{python_module click}
|
||||
BuildRequires: %{python_module coreapi}
|
||||
@@ -62,7 +62,10 @@ for p in coreapi ; do
|
||||
%python_clone -a %{buildroot}%{_bindir}/$p
|
||||
done
|
||||
|
||||
%fdupes %{buildroot}%{_prefix}
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%post
|
||||
%python_install_alternative coreapi
|
||||
|
||||
Reference in New Issue
Block a user