Re: Replacing the spec file in a srpm

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

 



At 11:36 PM +0100 9/15/05, Paul Smith wrote:
>Dear All
>
>How can I replace the spec file in a srpm?

Explode the RPM, edit the spec file, rebuild.  Assuming a sane build setup:

    $ rpmbuild --recompile -bp --target i686 package-version.src.rpm

replace "i686" with your desired target architecture, and
package-version.src.rpm with the name of the rpm to alter.

    $ cd path/to/rpmbuild/SPECS

Edit the specfile.

    $ rpmbuild -ba specfilename
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson@xxxxxxxxxxxxxxxxx>
      '                              <http://www.georgeanelson.com/>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux