Mailinglist Archive: opensuse-packaging (43 mails)

< Previous Next >
Re: [opensuse-packaging] macro expansion in rpm specfiles
On Friday 2018-03-02 09:22, Olaf Hering wrote:

I noticed that all users of SOURCE_DATE_EPOCH= use 'date +%s' in specfiles.
Is that '%s' working just by luck, or should it be '+%%s'?

Definitely double %.

How about we add this to prjconf:

Macros:
%s %nil
:Macros

That'll teach 'em ;-)
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups
References