# HG changeset patch # User Stu Tomlinson # Date 1137342704 0 # Node ID 3e9802ef84f91a30aba0353d2da0390943c971d7 # Parent d486bb706e8283d48c8ead58a9f4f3ad9544d2cf [gaim-migrate @ 15236] minor tweak committer: Tailor Script diff -r d486bb706e82 -r 3e9802ef84f9 gaim.spec.in --- 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@