- The dictionary data directory will now be /usr/lib/voikko on all architectures
- Create and own /usr/lib/voikko, so different dictionary packages can own the subdirectories there
- This was suggested in the review of the voikko-fi package, see rhbz#1919688
- Use the license macro
- Add GPG signature check for the source
- Fix pycached stuff
- Remove old python_provide macro
- Remove ldconfig_scriptlets macro
- Only use VFST for now, HFST can be provided in a later update
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 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.
...to avoid failures like
> error: File not found: /builddir/build/BUILDROOT/libvoikko-4.1.1-3.module_f31+8642+447c158d.x86_64/app/share/man/man1/voikkohyphenate.1.gz
> error: File not found: /builddir/build/BUILDROOT/libvoikko-4.1.1-3.module_f31+8642+447c158d.x86_64/app/share/man/man1/voikkospell.1.gz
> error: File not found: /builddir/build/BUILDROOT/libvoikko-4.1.1-3.module_f31+8642+447c158d.x86_64/app/share/man/man1/voikkogc.1.gz
(<https://kojipkgs.fedoraproject.org//work/tasks/1577/43431577/build.log>) while
building the LibreOffice flatpak.
<https://docs.fedoraproject.org/en-US/flatpak/troubleshooting/#
_uncompressed_manual_pages> states: "The recommendation in the Fedora packaging
guidelines is to have:
%{_mandir}/man1/<command>.1*
which is more robust against future changes to the RPM scripts to use different
compression."