From 2d7816800868b540ebe5ad6b7e8c2f70f2322de64868a8a660b6c8b6a9142aa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 18 Sep 2019 11:23:27 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apache-libcloud?expand=0&rev=88 --- python-apache-libcloud.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python-apache-libcloud.spec b/python-apache-libcloud.spec index ce025cf..087069b 100644 --- a/python-apache-libcloud.spec +++ b/python-apache-libcloud.spec @@ -69,7 +69,8 @@ cp libcloud/test/secrets.py-dist libcloud/test/secrets.py find %{buildroot} -name '*.DS_Store' -delete find %{buildroot} -name '*.json' -size 0 -delete find %{buildroot} -name '*.pem' -size 0 -delete -%python_expand %fdupes -s %{buildroot}%{$python_sitelib} +%python_expand rm -r %{buildroot}%{$python_sitelib}/libcloud/test +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check # Skip ShellOutSSHClientTests tests which attempt to ssh to localhost