Exclude __pycache__ files from flatpak build
This caused the LibreOffice flatpak build to fail, so follow the common workaround of just excluding for now any __pycache__ files from flatpak builds, where they are apparently not generated.
This commit is contained in:
parent
5bb75b9537
commit
e1b9941462
@ -103,7 +103,9 @@ 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
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.1-6
|
||||
|
||||
Loading…
Reference in New Issue
Block a user