01-29-2013
31,
0
Join Date: Dec 2011
Last Activity: 3 October 2013, 11:55 PM EDT
Location: hyderabad/INDIA
Posts: 31
Thanks Given: 6
Thanked 0 Times in 0 Posts
Building a combined package for 32-bit and 64-bit using rpmbuild
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 any good way to remove 64-bit files on 32-bit machine?