diff --git a/pass.spec b/pass.spec index 3287882..6d2867b 100644 --- a/pass.spec +++ b/pass.spec @@ -25,12 +25,17 @@ make DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} \ BINDIR=%{_bindir} SYSCONFDIR=%{_sysconfdir} \ MANDIR=%{_mandir} \ 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 +%doc README COPYING contrib %{_bindir}/pass %{_datadir}/bash-completion/completions/password-store +%{_datadir}/fish/completions/pass.fish +%{_datadir}/zsh/site-functions/_pass %doc %{_mandir}/man1/* %changelog