title: Remove some info such as softlinks from the rpm packages on Linux
body: <p>Here is a situation that I am currently dealing with.</p>
  
  <p>I provide a rpm package that contains both 32-bit and 64-bit application and can be installed on both modes i.e. on both 64-bit and 32-bit platforms.</p>
  
  <p>As the package contains both applications so, when trying to install the rpm package on 32-bit only Linux machine. It creates soft links for 64-bit application too along with 32-bit application. And during post-install I remove the soft-links for 64-bit application as we can not install it on a 32-bit machine.</p>
  
  <p>Now, The issue arises, as the package is already installed on 32-bit machine and I have removed the soft-links for 64-bit application as a part of post-install but the rpm still contains info for these 64-bit application soft-links and could be seen when queried through the rpm command but in reality these should not be.</p>
  
  <p>So, any one has some idea to query through rpm and remove the extra info for a 32-bit application. And this should be done during installation of the 32-bit package may be in post-install.</p>
  
  <p>Any help/idea will be appreciated.</p>