Add the version suffix for the pycache directory in libs

This commit is contained in:
Charalampos Stratakis 2017-08-04 16:33:48 +02:00 committed by Petr Viktorin
parent e4ea7bc0a0
commit 0d56e9844f
1 changed files with 1 additions and 1 deletions

View File

@ -799,7 +799,7 @@ cp -ar Tools/demo %{buildroot}%{pylibdir}/Tools/
rm -f %{buildroot}%{pylibdir}/email/test/data/audiotest.au %{buildroot}%{pylibdir}/test/audiotest.au
%if "%{_lib}" == "lib64"
install -d -m 0755 %{buildroot}/%{_prefix}/lib/%{name}/site-packages/__pycache__
install -d -m 0755 %{buildroot}/%{_prefix}/lib/%{name}%{pybasever}/site-packages/__pycache__
%endif
# Make python3-devel multilib-ready (bug #192747, #139911)