From 5bb75b9537a29f21c0a391370f6503480ccddadd Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 15 Apr 2020 16:57:32 +0200 Subject: [PATCH] Fix man file names for Flatpak builds ...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 () while building the LibreOffice flatpak. states: "The recommendation in the Fedora packaging guidelines is to have: %{_mandir}/man1/.1* which is more robust against future changes to the RPM scripts to use different compression." --- libvoikko.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libvoikko.spec b/libvoikko.spec index 2e67bee..f5d1262 100644 --- a/libvoikko.spec +++ b/libvoikko.spec @@ -92,9 +92,9 @@ install -pm 0644 python/libvoikko.py $RPM_BUILD_ROOT%{python3_sitelib}/ %{_bindir}/voikkospell %{_bindir}/voikkohyphenate %{_bindir}/voikkogc -%{_mandir}/man1/voikkohyphenate.1.gz -%{_mandir}/man1/voikkospell.1.gz -%{_mandir}/man1/voikkogc.1.gz +%{_mandir}/man1/voikkohyphenate.1* +%{_mandir}/man1/voikkospell.1* +%{_mandir}/man1/voikkogc.1* %files devel %{_includedir}/*