Re: rpmbuild: variables in %post

2011-11-29 Thread Paul Howarth
On 11/29/2011 01:16 PM, Reindl Harald wrote: hi, i have a little problem with rpmbuild on the begin of my spec-file: %define kernel_uname_r %(echo $(uname -r)) this works fine in %files, but is ignored in %post FATAL: Could not open '/boot/System.map-': No such file or directory why? Does

Re: rpmbuild: variables in %post

2011-11-29 Thread Reindl Harald
Am 29.11.2011 14:44, schrieb Paul Howarth: On 11/29/2011 01:16 PM, Reindl Harald wrote: hi, i have a little problem with rpmbuild on the begin of my spec-file: %define kernel_uname_r %(echo $(uname -r)) this works fine in %files, but is ignored in %post FATAL: Could not open