spec file question

Erwin Rol mailinglists at erwinrol.com
Sun Feb 19 13:54:31 UTC 2006


On Sun, 2006-02-19 at 08:40 -0500, Ignacio Vazquez-Abrams wrote:
> On Sun, 2006-02-19 at 14:37 +0100, Erwin Rol wrote:
> > A small question to the rpm spec file format, how can i escape a % in a
> > spec file, like in ;
> 
> %%

It seems the problem is not the % but the command just doesn't get
executed. 

So the new question is, how do i excute the date command and put the
result in a define like;

%define DATE   `date +%s` 

I tried ` ´ ' " but non seems to work, the whole string just ends up in
the rpm name.

- Erwin





More information about the fedora-devel-list mailing list