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.


-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux