- 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
3
1.0.9.tar.gz
Normal file
3
1.0.9.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2c2f26d8312f0581205b2da1751301b8095c63fc1621183e347b488e509fcbf9
|
||||
size 12819
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d76b5320ea9ad04d922001ac8897b903a7a359c08a53822f819134c50aa22c5f
|
||||
size 9756
|
||||
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 14 20:33:25 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Switch to github tarball for tests
|
||||
- Fix fdupes call
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 4 15:22:53 UTC 2019 - Martin Herkt <9+suse@cirno.systems>
|
||||
|
||||
|
||||
@@ -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