cargo-test: do not use sudo
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
38b3d26853
commit
0855ae0066
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ crate_toml="$crate_dir/Cargo.toml"
|
|||
# XXX: ideally we should just install -tests subpackage
|
||||
# which would require all necessary deps
|
||||
$(rpm --eval "%{__cargo_inspector}") --test-requires "$crate_toml" | \
|
||||
sed -r -e "s/(.*)/'\1'/" | xargs -r sudo dnf -y install
|
||||
sed -r -e "s/(.*)/'\1'/" | xargs -r dnf -y install
|
||||
|
||||
# XXX: sed is needed due to https://github.com/rpm-software-management/rpm/issues/472
|
||||
rpm -D "_with_check 1" --eval "%cargo_prep" | \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue