Mercurial > pidgin.yaz
comparison gaim.spec.in @ 20381:99e13490ddff
Mark didn't read the comment above the line he changed. ;-)
This will prevent beta7 from being appended until the # is replaced
with %.
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Mon, 22 Jan 2007 02:19:52 +0000 |
parents | eaecc5f3a53f |
children | 1706b25196e4 |
comparison
equal
deleted
inserted
replaced
20380:eaecc5f3a53f | 20381:99e13490ddff |
---|---|
4 %{!?perl_archlib: %define perl_archlib %(eval "`%{__perl} -V:installarchlib`"; echo $installarchlib)} | 4 %{!?perl_archlib: %define perl_archlib %(eval "`%{__perl} -V:installarchlib`"; echo $installarchlib)} |
5 | 5 |
6 # When not doing betas comment this out | 6 # When not doing betas comment this out |
7 # NOTE: %defines in spec files are evaluated in comments so the correct | 7 # NOTE: %defines in spec files are evaluated in comments so the correct |
8 # way to comment it out is to replace the % with # | 8 # way to comment it out is to replace the % with # |
9 #%define beta 7 | 9 #define beta 7 |
10 | 10 |
11 %if 0%{?beta} | 11 %if 0%{?beta} |
12 %define gaimver %(echo "@VERSION@"|sed -e 's/dev//; s/beta.*//') | 12 %define gaimver %(echo "@VERSION@"|sed -e 's/dev//; s/beta.*//') |
13 %else | 13 %else |
14 %define gaimver @VERSION@ | 14 %define gaimver @VERSION@ |