corrected binary name in install
This commit is contained in:
parent
3b15bbf4f6
commit
1cd2d2f9cb
1 changed files with 2 additions and 2 deletions
|
|
@ -34,7 +34,7 @@ cat %SOURCE2 >> .cargo/config.toml
|
|||
%rust_build
|
||||
|
||||
%install
|
||||
install -Dm 755 target/release/%name %buildroot/%_sbindir/%name
|
||||
install -Dm 755 target/release/mas-cli %buildroot/%_sbindir/mas-cli
|
||||
#sed 's/PrivateUsers/##PrivateUsers/' -i rpm/tuwunel.service
|
||||
#install -Dm 644 rpm/tuwunel.service %buildroot/%_user_unitdir/%name.service
|
||||
|
||||
|
|
@ -44,7 +44,7 @@ install -Dm 755 target/release/%name %buildroot/%_sbindir/%name
|
|||
#chmod -R tuwunel:tuwunel %buildroot/var/lib/tuwunel %buildroot/etc/tuwunel
|
||||
|
||||
%files
|
||||
#%_sbindir/%name
|
||||
%_sbindir/mas-cli
|
||||
#%_user_unitdir/%name.service
|
||||
%doc LICENSE LICENSE-COMMERCIAL README.md
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue