Update .gear/tuwunel.spec
Some checks failed
Main / Init (push) Has been cancelled
Main / Lint (push) Has been cancelled
Main / Test (push) Has been cancelled
Main / Package (push) Has been cancelled
Main / Publish (push) Has been cancelled

This commit is contained in:
thek0tyara 2026-02-22 20:18:52 +03:00
parent 3785b7eef8
commit 1b2535f993

View file

@ -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