Building RPM from binary installer

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

 



Hi,

I want to build an RPM frm a binary installer (a .bin file),
unfortunately the installer uses the value of RPM_BUILD_ROOT in the
scripts it generates.

Because of this none of the scripts work since they look for their files
in /var/tmp/... .

I have even tried not ot install the software in the BUILD_ROOT or
setting the BUILD_ROOT to /usr/local/... But if I do this rpmbuild looks
for these files below the build root rather than below / so it can't
find them.

Next I tried to generate the list of files and include that rather than
specifying them in the spec file but I ran into the same issue.

The only option I see now would be to install the binary installer to
e.g. /usr/local/src and run the installer as a %post script but that
would leave the installer and it's properties file on disk.

What is the proper way to deal with a situation like this?

Kind regards

Bram



Mazda Motor Logistics Europe NV, Blaasveldstraat 162, B-2830 Willebroek
VAT BE 406.024.281, RPR Mechelen, ING  310-0092504-52, IBAN : BE64 3100 0925 0452, SWIFT : BBRUBEBB


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux