From 86efe2018fa06da1800bbf2e6aeb7022eb7f19dc Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Sun, 31 Mar 2002 11:21:47 +0000 Subject: [PATCH] added ifdef() macro --- macros.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/macros.in b/macros.in index e4a2ecb..d8fef26 100644 --- a/macros.in +++ b/macros.in @@ -945,5 +945,8 @@ done \ # %find_lang @RPMCONFIGDIR@/find-lang +# Useful ifdef() macro. +%ifdef() %if %{expand:%%{?%{1}:1}%%{!?%{1}:0}} + # \endverbatim #*/