Fix build with fish bugfix

epel9
Ankur Sinha (Ankur Sinha Gmail) 4 years ago
parent 71d48f1432
commit e88c1077b1
No known key found for this signature in database
GPG Key ID: F8D8C0BEBAC898BD

@ -1,6 +1,6 @@
Name: zathura
Version: 0.4.6
Release: 1%{?dist}
Release: 2%{?dist}
Summary: A lightweight document viewer
License: zlib
URL: http://pwmt.org/projects/%{name}/
@ -110,11 +110,6 @@ This package provides %{summary}.
%install
%meson_install
# Move fish completion file to correct location
# https://bugzilla.redhat.com/show_bug.cgi?id=1869376
install -m 0644 -p -D -t %{buildroot}/%{_datadir}/fish/completions/ %{buildroot}/%{_prefix}/local/share/fish/vendor_completions.d/%{name}.fish
rm -f %{buildroot}/%{_prefix}/local/share/fish/vendor_completions.d/%{name}.fish
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.appdata.xml
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
%find_lang zathura
@ -140,12 +135,16 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
%{_datadir}/bash-completion/completions/zathura
%files fish-completion
%{_datadir}/fish/completions/zathura.fish
%{_datadir}/fish/vendor_completions.d/zathura.fish
%files zsh-completion
%{_datadir}/zsh/site-functions/_zathura
%changelog
* Mon Sep 21 2020 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.4.6-2
- Remove no longer needed fish workaround
- Use new vendor completion directory for fish
* Mon Aug 17 2020 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.4.6-1
- Update to new upstream release

Loading…
Cancel
Save