From d185e0e0f11ad64810c7d86c852979eb773cf5d5 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Sep 19 2023 18:10:32 +0000 Subject: Fix copy-and-paste errors in macro comments --- diff --git a/macros.d/macros.cargo b/macros.d/macros.cargo index 188fe0c..8adb9fa 100644 --- a/macros.d/macros.cargo +++ b/macros.d/macros.cargo @@ -37,8 +37,8 @@ # the current working directory is a "library" crate %__cargo_is_lib() [ $(%{__cargo_to_rpm} --path Cargo.toml is-lib) -eq 1 ] -# __cargo_is_lib: function-like macro that returns successfully if the crate in -# the current working directory is a "library" crate +# __cargo_is_bin: function-like macro that returns successfully if the crate in +# the current working directory is a "binary" crate %__cargo_is_bin() [ $(%{__cargo_to_rpm} --path Cargo.toml is-bin) -eq 1 ] # cargo_prep: macro to set up build environment for cargo projects @@ -108,7 +108,7 @@ EOF\ %* \ } -# cargo_build: runs the test suite with cargo with the specified feature flags +# cargo_test: runs the test suite with cargo with the specified feature flags # # To pass command-line arguments to the cargo test runners directly (for # example, to skip certain tests during package builds), both the cargo_test