Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Stephan Bergmann
7eb1e6fd40 Revert "Exclude __pycache__ files from flatpak build"
This reverts commit e1b9941462, 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
2021-01-28 17:33:31 +02:00

View file

@ -103,9 +103,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 Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.1-8