diff --git a/python-tqdm.changes b/python-tqdm.changes index 56f1c92..f934dcc 100644 --- a/python-tqdm.changes +++ b/python-tqdm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 12 10:45:37 UTC 2019 - Matej Cepl + +- Remove installed files after running the testsuite + ------------------------------------------------------------------- Sat Feb 9 13:37:08 CET 2019 - Matej Cepl diff --git a/python-tqdm.spec b/python-tqdm.spec index 8484d36..a2ed050 100644 --- a/python-tqdm.spec +++ b/python-tqdm.spec @@ -80,9 +80,9 @@ and does not require ncurses. %check %if %{with test} -%{python_expand export PATH="$PATH:%{buildroot}%{_bindir}" -export PYTHONPATH=%{buildroot}%{$python_sitelib} +%{python_expand export PATH="$PATH:%{buildroot}%{_bindir}" PYTHONPATH=%{buildroot}%{$python_sitelib} nosetests-%%{$python_bin_suffix} --ignore-files="tests_perf\.py" --ignore-files="tests_synchronisation\.py" tqdm/ +rm -rf %{buildroot}%{$python_sitelib} } %endif