From b550d2b8351a19cce480f742f9dc210ce9aae023 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 7 Jan 2021 08:19:41 +0100 Subject: [PATCH] Revert "Exclude __pycache__ files from flatpak build" This reverts commit e1b9941462b82f208b814fc2f6e7f369bcda11a0, the underlying issue is reportedly fixed for f33 and those files are now generated by a Flatpak build after all: > Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libvoikko-4.1.1-8.module+f33+2+22783585.x86_64 > error: Installed (but unpackaged) file(s) found: > /app/lib/python3.9/site-packages/__pycache__/libvoikko.cpython-39.opt-1.pyc > /app/lib/python3.9/site-packages/__pycache__/libvoikko.cpython-39.pyc > Installed (but unpackaged) file(s) found: > /app/lib/python3.9/site-packages/__pycache__/libvoikko.cpython-39.opt-1.pyc > /app/lib/python3.9/site-packages/__pycache__/libvoikko.cpython-39.pyc --- libvoikko.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/libvoikko.spec b/libvoikko.spec index bf05243..984aded 100644 --- a/libvoikko.spec +++ b/libvoikko.spec @@ -104,9 +104,7 @@ install -pm 0644 python/libvoikko.py $RPM_BUILD_ROOT%{python3_sitelib}/ %files -n python3-libvoikko %{python3_sitelib}/%{name}.py* -%if ! 0%{?flatpak} %{python3_sitelib}/__pycache__/* -%endif %changelog * Tue Jan 26 2021 Fedora Release Engineering - 4.1.1-9