Mailinglist Archive: opensuse-packaging (99 mails)

< Previous Next >
Re: [opensuse-packaging] RFC: Lua packaging guidelines
  • From: Ludwig Nussel <ludwig.nussel@xxxxxxx>
  • Date: Mon, 01 Oct 2012 16:12:43 +0200
  • Message-id: <5069A4DB.1050900@suse.de>
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.

cu
Ludwig

--
(o_ Ludwig Nussel
//\
V_/_ http://www.suse.de/
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imend├Ârffer, HRB
16746 (AG N├╝rnberg)
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups