Re: download srpms and rebuild package with other options

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

 



On Sun, 2006-07-30 at 19:19 +0200, Ambrogio wrote:
> Il giorno ven, 28/07/2006 alle 08.48 +0100, Paul Howarth ha scritto:
> > Edit the spec file to add the configure options you want:
> > $ vi ~/rpmbuild/SPECS/ffmpeg.spec
> > 
> > It's good practice to also change the "Release" number and add a
> > changelog entry in the spec file when you wake changes.
> > 
> > Rebuild the package:
> > $ rpmbuild -ba ~/rpmbuild/SPECS/ffmpeg.spec
> > 
> > At this point you may find that you need to install some additional
> > -devel packages. These should be yum-able (as root).
> Tanx very much.
> 
> Now I have only another question.
> To save time on rebuild there is a way to not uncompress every time the
> source into the BUILD dir?
> 
> I see that in spec file there is a %prep section in which the source are
> uncompressed.
> This appens every time i run the rpmbuild -ba ...
> In the section I see the %setup command but I don't know how %setup is
> defined.
> 
> There is a rpmbuild option 

... called --short-circuit that allows you to do this.

Paul.



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

  Powered by Linux