[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: spec file question



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]