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:
Stephan Bergmann 2020-05-04 11:32:22 +02:00
parent 5bb75b9537
commit e1b9941462

View File

@ -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