client, server: fix RPM build issue.

pull/103/head
Jake McGinty 2021-06-01 01:30:40 +09:00
parent ba0b062ce9
commit 8017539f82
3 changed files with 7 additions and 1 deletions

View File

@ -38,3 +38,6 @@ rm -rf %{buildroot}
%{_bindir}/* %{_bindir}/*
%attr(0644, root, root) "/usr/lib/systemd/system/innernet@.service" %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) "/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"

View File

@ -57,7 +57,7 @@ package = "innernet"
buildflags = ["--release"] buildflags = ["--release"]
[package.metadata.rpm.files] [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" } "../innernet@.service" = { path = "/usr/lib/systemd/system/innernet@.service" }
"../../doc/innernet.completions.bash" = { path = "/etc/bash_completion.d/innernet" } "../../doc/innernet.completions.bash" = { path = "/etc/bash_completion.d/innernet" }
"../../doc/innernet.completions.fish" = { path = "/usr/share/fish/vendor_completions.d/innernet.fish" } "../../doc/innernet.completions.fish" = { path = "/usr/share/fish/vendor_completions.d/innernet.fish" }

View File

@ -37,3 +37,6 @@ rm -rf %{buildroot}
%{_bindir}/* %{_bindir}/*
%attr(0644, root, root) "/usr/lib/systemd/system/innernet-server@.service" %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) "/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"