1

Building a combined package for 32-bit and 64-bit using rpmbuild

view story
linux-howto

http://stackoverflow.com – I have a combined package for 32-bit and 64-bit Linux platform. On 64-bit system, all files are getting installed whatever mentioned in the %files section of the spec file.(Both 32-bit and 64-bit files). On 32-bit system also, all files are getting installed whatever mentioned in the %files section of the spec file but 64-bit files are removed during postinstall(I wrote a code for removal). The problem is, on 32-bit machine, package manager displays all files when queried to display the files installed by the package. So 64-bit files being displayed on 32-bit machine.(eg rpm -ql) Is there a (HowTos)