[packages/rpm-build-macros] - typo in cmake_on_off description

adamg adamg at pld-linux.org
Thu Apr 18 08:30:23 CEST 2019


commit 7cafb58f22ce50ef21f6ab1e9914c43e508428e5
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date:   Thu Apr 18 08:30:05 2019 +0200

    - typo in cmake_on_off description

 rpm.macros | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/rpm.macros b/rpm.macros
index 8a26e75..01c8a39 100644
--- a/rpm.macros
+++ b/rpm.macros
@@ -434,7 +434,7 @@ LC_ALL=C.UTF-8 %{__meson} \
 %__true_false_not() %{expand:%%{?with_%{1}:false}%%{!?with_%{1}:true}}
 
 # for use with cmake:
-# Usage: cmake_with BCOND_NAME [OPTION_NAME]
+# Usage: cmake_on_off BCOND_NAME [OPTION_NAME]
 # BuildRequires: rpmbuild(macros) >= 1.742
 %cmake_on_off() -D%{?2}%{!?2:%{1}}:BOOL=%{expand:%%{?with_%{1}:ON}%%{!?with_%{1}:OFF}}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-macros.git/commitdiff/7cafb58f22ce50ef21f6ab1e9914c43e508428e5



More information about the pld-cvs-commit mailing list