Skip to content

Commit

Permalink
fix(anda): use %__cargo run
Browse files Browse the repository at this point in the history
  • Loading branch information
madonuko committed Sep 27, 2024
1 parent 53b06e1 commit c3fee05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions anda/tools/buildsys/anda/rust-anda.spec
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ Summary: %{summary}
%build
%define __cargo /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo
%cargo_build
cargo run --release -p xtask -- manpage
cargo run --release -p xtask -- completion
%__cargo run --release -p xtask -- manpage
%__cargo run --release -p xtask -- completion

%install
%define __cargo /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo
Expand Down

0 comments on commit c3fee05

Please sign in to comment.