macros: don't define %cargo_build/test as functions
There are only problems from this. Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
69c7ba1d28
commit
ee68fab15b
1 changed files with 2 additions and 2 deletions
|
@ -26,9 +26,9 @@ registry = "https://crates.io"\
|
||||||
replace-with = "local-registry"\
|
replace-with = "local-registry"\
|
||||||
EOF}
|
EOF}
|
||||||
|
|
||||||
%cargo_build() %{expand:%__cargo build %{__cargo_common_opts} %{?1}}
|
%cargo_build %__cargo build %{__cargo_common_opts}
|
||||||
|
|
||||||
%cargo_test() %{expand:%__cargo test %{__cargo_common_opts} %{?1}}
|
%cargo_test %__cargo test %{__cargo_common_opts}
|
||||||
|
|
||||||
%cargo_install %{expand:(\
|
%cargo_install %{expand:(\
|
||||||
set -eu \
|
set -eu \
|
||||||
|
|
Loading…
Reference in a new issue