Python cached directory removed

This commit is contained in:
2019-11-08 14:32:11 +01:00
parent 9d7fb2ec29
commit f753f8312b

View File

@@ -43,6 +43,7 @@ dos2unix -k README.txt NEWS.txt
%check %check
pushd test pushd test
PYTHONPATH=../ %{__python} test_%{oname}.py PYTHONPATH=../ %{__python} test_%{oname}.py
rm -rf %{buildroot}%{python3_sitelib}/__pycache__
%clean %clean
[ "%{buildroot}" != "/" ] && [ -d "%{buildroot}" ] && rm -rf %{buildroot} [ "%{buildroot}" != "/" ] && [ -d "%{buildroot}" ] && rm -rf %{buildroot}