Accepting request 673648 from home:mcepl:branches:devel:languages:python

- Remove installed files after running the testsuite

OBS-URL: https://build.opensuse.org/request/show/673648
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tqdm?expand=0&rev=38
This commit is contained in:
Matej Cepl 2019-02-12 12:07:26 +00:00 committed by Git OBS Bridge
parent bc9ff588ac
commit 9238e673fa
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Feb 12 10:45:37 UTC 2019 - Matej Cepl <mcepl@suse.com>
- Remove installed files after running the testsuite
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Feb 9 13:37:08 CET 2019 - Matej Cepl <mcepl@suse.com> Sat Feb 9 13:37:08 CET 2019 - Matej Cepl <mcepl@suse.com>

View File

@ -80,9 +80,9 @@ and does not require ncurses.
%check %check
%if %{with test} %if %{with test}
%{python_expand export PATH="$PATH:%{buildroot}%{_bindir}" %{python_expand export PATH="$PATH:%{buildroot}%{_bindir}" PYTHONPATH=%{buildroot}%{$python_sitelib}
export PYTHONPATH=%{buildroot}%{$python_sitelib}
nosetests-%%{$python_bin_suffix} --ignore-files="tests_perf\.py" --ignore-files="tests_synchronisation\.py" tqdm/ nosetests-%%{$python_bin_suffix} --ignore-files="tests_perf\.py" --ignore-files="tests_synchronisation\.py" tqdm/
rm -rf %{buildroot}%{$python_sitelib}
} }
%endif %endif