From c4012a1a78c4b7bf00c7b65069a3801c7e424ba4ee8ec5e623ea8c3cb33c9351 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 14 May 2019 20:34:01 +0000 Subject: [PATCH] - 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 --- 1.0.9.tar.gz | 3 +++ coreapi-cli-1.0.9.tar.gz | 3 --- python-coreapi-cli.changes | 6 ++++++ python-coreapi-cli.spec | 7 +++++-- 4 files changed, 14 insertions(+), 5 deletions(-) create mode 100644 1.0.9.tar.gz delete mode 100644 coreapi-cli-1.0.9.tar.gz diff --git a/1.0.9.tar.gz b/1.0.9.tar.gz new file mode 100644 index 0000000..cccd8fc --- /dev/null +++ b/1.0.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2c2f26d8312f0581205b2da1751301b8095c63fc1621183e347b488e509fcbf9 +size 12819 diff --git a/coreapi-cli-1.0.9.tar.gz b/coreapi-cli-1.0.9.tar.gz deleted file mode 100644 index 3a820f8..0000000 --- a/coreapi-cli-1.0.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d76b5320ea9ad04d922001ac8897b903a7a359c08a53822f819134c50aa22c5f -size 9756 diff --git a/python-coreapi-cli.changes b/python-coreapi-cli.changes index 8887ab1..8bfe1ce 100644 --- a/python-coreapi-cli.changes +++ b/python-coreapi-cli.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue May 14 20:33:25 UTC 2019 - Tomáš Chvátal + +- Switch to github tarball for tests +- Fix fdupes call + ------------------------------------------------------------------- Sat May 4 15:22:53 UTC 2019 - Martin Herkt <9+suse@cirno.systems> diff --git a/python-coreapi-cli.spec b/python-coreapi-cli.spec index fbf174c..1eeb857 100644 --- a/python-coreapi-cli.spec +++ b/python-coreapi-cli.spec @@ -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