title: How to "repackage" a RPM file for example cpio2rpm without installing the RPM?
body: <ol>
  <li>I'm able to extract files from a RPM file, but how do I "rebuild" it, for example cpio2rpm?</li>
  <li>I have extracted RPM file using following command. 
                   rpm2cpio theFileName.rpm | cpio –idmv</li>
  <li>I have to modify the few web application files like *.php, *.html or .js. These files don’t require any source recompilation. So I would like to replaces or change these files with modification without rebuilding rpm. Since, I need to do this for multiple platforms like Redhat Linux and SUSE, and multiple architecture like 32 and 64 bit OS. </li>
  <li>I am expecting to do these changes on only on system and without rebuild rpm and there would not be have target system architecture dependency (like i386, 64). </li>
  <li>I am not looking like command rpmbuild –rebuild the.src.rpm since, I don’t have source. I need to be rebuild binary .RPM file(not source .rpm)</li>
  <li><p>I want to do this without source and platform or architecture independent and without using spec file if possible. </p>
  
  <p>Any buddy, could you please suggest any solution or any free tools.</p>
  
  <p>Thank you to all whoever spends time to read and reply to my thread. </p></li>
  </ol>