On Fri, Nov 25, 2011 at 2:38 PM, Ryan Schmidt
<subversion-20...@ryandesign.com> wrote:
> On Nov 25, 2011, at 10:06, Jannis wrote:
>
>> 2. And changed the relevant line in DESCRIPTION to:
>>
>> Version: 0.5.0.$LastChangedRevision$
>>
>>
>> This works partially but changes the line in DESCRIPTION to (for example):
>>
>> Version: 0.5.0.$LastChangedRevision: 28 $
>>
>> I need, however:
>>
>> Version: 0.5.0.28
>>
>>
>> Is there any way to achieve this? In case you have any solution, try to post 
>> it understandable to a SVN-newbi :-).
>
> Write a script that runs at build time that generates the DESCRIPTION file, 
> possibly from a template.
>
> See also:
>
> http://subversion.apache.org/faq.html#version-value-in-source

I updated something like this, based on the older RPM package building
for Subversion, and which I submitted as part of new packaging 1.7.1,
it's in the archives at
http://comments.gmane.org/gmane.comp.version-control.subversion.devel/132223

Reply via email to