Re: rpmbuild: variables in %post

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

 




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 '/boot/System.map-': No such file or directory
>> why?
> 
> Does it help if you use %global instead of %define ?

this does the trick!
thank you very much!

if will cross-post a link to my src.rpm of open-vm-tools on fedora-users/devel,
rpmfusion-users and open-vmtools since they are retired for F15 in the
rpmfusion-repos and hardly needed if someone is using fedora-guests
on vSphere with HA-Clustering

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
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