Update .gear/tuwunel.spec
This commit is contained in:
parent
3785b7eef8
commit
1b2535f993
1 changed files with 1 additions and 1 deletions
|
|
@ -30,13 +30,13 @@ fully implementing the Matrix Specification for all but the most niche uses.
|
||||||
%prep
|
%prep
|
||||||
%setup -a1
|
%setup -a1
|
||||||
cat %SOURCE2 >> .cargo/config.toml
|
cat %SOURCE2 >> .cargo/config.toml
|
||||||
|
sed 's/PrivateUsers/#PrivateUsers/' -i rpm/tuwunel.service
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%rust_build
|
%rust_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -Dm 755 target/release/%name %buildroot/%_sbindir/%name
|
install -Dm 755 target/release/%name %buildroot/%_sbindir/%name
|
||||||
sed 's/PrivateUsers/#PrivateUsers/' -i rpm/tuwunel.service
|
|
||||||
install -Dm 644 rpm/tuwunel.service %buildroot/%_unitdir/%name.service
|
install -Dm 644 rpm/tuwunel.service %buildroot/%_unitdir/%name.service
|
||||||
install -D -m 0644 %SOURCE3 %buildroot/%_sysusersdir/%name.conf
|
install -D -m 0644 %SOURCE3 %buildroot/%_sysusersdir/%name.conf
|
||||||
install -D -m 0644 tuwunel-example.toml %buildroot/%_sysconfdir/%name/tuwunel.toml
|
install -D -m 0644 tuwunel-example.toml %buildroot/%_sysconfdir/%name/tuwunel.toml
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue