[gnome-abrt/f22] Correct expansion of an undefined macro

Jakub Filak jfilak at fedoraproject.org
Thu Mar 19 06:25:36 UTC 2015


commit 70284b4f5eebbc8f6d970c18b124753d346ad185
Author: Jakub Filak <jfilak at redhat.com>
Date:   Thu Mar 19 06:37:55 2015 +0100

    Correct expansion of an undefined macro
    
    If the ? is not present and the macro is not defined, RPM takes the
    macro as it is (%checkoption) instead of expanding it to an empty
    string.

 gnome-abrt.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnome-abrt.spec b/gnome-abrt.spec
index 07e3058..a7feb9a 100644
--- a/gnome-abrt.spec
+++ b/gnome-abrt.spec
@@ -76,7 +76,7 @@ provides them with convenient way for managing these problems.
 
 %build
 autoconf
-%configure %checkoption
+%configure %{?checkoption}
 make
 
 


More information about the scm-commits mailing list