Re: rpmbuild: variables in %post

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux