The __pycache__ files are generated by a Flatpak build now after all

> Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libreoffice-6.4.7.2-4.module+f32+2+48ebc82b.x86_64
> error: Installed (but unpackaged) file(s) found:
>    /app/lib64/python3.8/site-packages/__pycache__/officehelper.cpython-38.opt-1.pyc
>    /app/lib64/python3.8/site-packages/__pycache__/officehelper.cpython-38.pyc
>    /app/lib64/python3.8/site-packages/__pycache__/uno.cpython-38.opt-1.pyc
>    /app/lib64/python3.8/site-packages/__pycache__/uno.cpython-38.pyc
>    /app/lib64/python3.8/site-packages/__pycache__/unohelper.cpython-38.opt-1.pyc
>    /app/lib64/python3.8/site-packages/__pycache__/unohelper.cpython-38.pyc
f41
Stephan Bergmann 4 years ago
parent 1d4a899939
commit 3d414dbcfc

@ -2185,11 +2185,9 @@ rm -f %{buildroot}%{baseinstdir}/program/classes/smoketest.jar
%{libo_python_sitearch}/uno.py*
%{libo_python_sitearch}/unohelper.py*
%{libo_python_sitearch}/officehelper.py*
%if ! 0%{?flatpak}
%{libo_python_sitearch}/__pycache__/uno.cpython-*
%{libo_python_sitearch}/__pycache__/unohelper.cpython-*
%{libo_python_sitearch}/__pycache__/officehelper.cpython-*
%endif
%{baseinstdir}/share/registry/pyuno.xcd
%files librelogo

Loading…
Cancel
Save