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 it help if you use %global instead of %define ? Paul. -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel