changeset 12884:3e9802ef84f9

[gaim-migrate @ 15236] minor tweak committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sun, 15 Jan 2006 16:31:44 +0000
parents d486bb706e82
children b704e60fe5de
files gaim.spec.in
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gaim.spec.in	Sun Jan 15 15:47:21 2006 +0000
+++ b/gaim.spec.in	Sun Jan 15 16:31:44 2006 +0000
@@ -3,10 +3,12 @@
 %{!?perl_vendorarch: %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)}
 %{!?perl_archlib: %define perl_archlib %(eval "`%{__perl} -V:installarchlib`"; echo $installarchlib)}
 
-# When not doing betas set this to 0
+# When not doing betas comment this out
+# NOTE: %defines in spec files are evaluated in comments so the correct
+#       way to comment it out is to replace the % with #
 %define beta 1
 
-%if 0%{beta}
+%if 0%{?beta}
 %define gaimver %(echo "@VERSION@"|sed -e 's/cvs//; s/beta.*//')
 %else
 %define gaimver @VERSION@