From 3d414dbcfcc3fed5255ef915ba05a73b9b28f78e Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 5 Jan 2021 11:47:52 +0100 Subject: [PATCH] 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 --- libreoffice.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/libreoffice.spec b/libreoffice.spec index b0771aa..c34e0de 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -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