Mailinglist Archive: opensuse-packaging (99 mails)

< Previous Next >
Re: [opensuse-packaging] RFC: Lua packaging guidelines
On Mon, Oct 01, 2012 at 04:12:43PM +0200, Ludwig Nussel wrote:
Togan Muftuoglu wrote:
# The major.minor version of Lua
%lua_version %(lua -e 'print(_VERSION)' | cut -d ' ' -f 2)

I'd suggest to compute that once at build time when installing the
macros file rather than having rpm evaluate that ugly piece of shell
each time.

I think that's a bit overkill. The perl/python/ruby macros look pretty
much the same, and there really is no need to speed up lue package
building by the fraction of a second.

Cheers,
Michael.

--
Michael Schroeder mls@xxxxxxx
SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References