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
This commit is contained in:
parent
3930e705ee
commit
b550d2b835
@ -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 <releng@fedoraproject.org> - 4.1.1-9
|
||||
|
||||
Loading…
Reference in New Issue
Block a user