diff --git a/client/.rpm/innernet.spec b/client/.rpm/innernet.spec index 1a39dc7..c9e2bf6 100644 --- a/client/.rpm/innernet.spec +++ b/client/.rpm/innernet.spec @@ -38,3 +38,6 @@ rm -rf %{buildroot} %{_bindir}/* %attr(0644, root, root) "/usr/lib/systemd/system/innernet@.service" %attr(0644, root, root) "/usr/share/man/man8/innernet.8.gz" +%attr(0644, root, root) "/etc/bash_completion.d/innernet" +%attr(0644, root, root) "/usr/share/fish/vendor_completions.d/innernet.fish" +%attr(0644, root, root) "/usr/share/zsh/site-functions/_innernet" diff --git a/client/Cargo.toml b/client/Cargo.toml index 7d256d3..5ed75ed 100644 --- a/client/Cargo.toml +++ b/client/Cargo.toml @@ -57,7 +57,7 @@ package = "innernet" buildflags = ["--release"] [package.metadata.rpm.files] -"../../doc/innernet-server.8.gz" = { path = "/usr/share/man/man8/innernet.8.gz" } +"../../doc/innernet.8.gz" = { path = "/usr/share/man/man8/innernet.8.gz" } "../innernet@.service" = { path = "/usr/lib/systemd/system/innernet@.service" } "../../doc/innernet.completions.bash" = { path = "/etc/bash_completion.d/innernet" } "../../doc/innernet.completions.fish" = { path = "/usr/share/fish/vendor_completions.d/innernet.fish" } diff --git a/server/.rpm/innernet-server.spec b/server/.rpm/innernet-server.spec index 20d2427..afc9d38 100644 --- a/server/.rpm/innernet-server.spec +++ b/server/.rpm/innernet-server.spec @@ -37,3 +37,6 @@ rm -rf %{buildroot} %{_bindir}/* %attr(0644, root, root) "/usr/lib/systemd/system/innernet-server@.service" %attr(0644, root, root) "/usr/share/man/man8/innernet-server.8.gz" +%attr(0644, root, root) "/etc/bash_completion.d/innernet-server" +%attr(0644, root, root) "/usr/share/fish/vendor_completions.d/innernet-server.fish" +%attr(0644, root, root) "/usr/share/zsh/site-functions/_innernet-server"