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