Don't manually copy completion files

pass 1.6.1 now does this for us when passing FORCE_ALL=1 to make
epel9
Christophe Fergeau 11 years ago
parent 6153275e98
commit d1e2b0cf8d

@ -26,10 +26,6 @@ make DESTDIR=%{buildroot} PREFIX=%{_prefix} \
BINDIR=%{_bindir} SYSCONFDIR=%{_sysconfdir} \
MANDIR=%{_mandir} FORCE_ALL=1 \
install
install -d %{buildroot}%{_datadir}/zsh/site-functions/
install -m 0644 src/completion/pass.zsh-completion %{buildroot}%{_datadir}/zsh/site-functions/_pass
install -d %{buildroot}%{_datadir}/fish/completions/
install -m 0644 src/completion/pass.fish-completion %{buildroot}%{_datadir}/fish/completions/pass.fish
%files
%doc README COPYING contrib

Loading…
Cancel
Save