FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 11-20-2007, 01:33 AM
Peter Gordon
 
Default RPM Build Options (--with foo/--without bar, etc.) [Was: Optional packages for the build-time testsuite runs?]

On Mon, 2007-11-19 at 15:42 +0100, Ralf Corsepius wrote:
> What I have done in similar situations [1] is applying rpm's
> --with/--without in combination with koji scratch builds and local
> builds.
>
> I.e. I am using %{?_with_XXX} and friends inside of specs, such that you
> can specify them on rpmbuild's command-line for manual local builds.

This is what I ended up doing for the startup-notification support in
Openbox a long time ago. (It was disabled by default at upstream's
request, but a simple "--with startup_notification" to rpmbuild would
have enabled it). If you intend to go about this path, I recommend using
the %bcond_with and %bcond_without macros. The encapsulate the
%{?_with_foo} stuff and make it just a little bit simpler.
--
Peter Gordon (codergeek42)
GnuPG Public Key ID: 0xFFC19479 / Fingerprint:
DD68 A414 56BD 6368 D957 9666 4268 CB7A FFC1 9479


--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 

Thread Tools




All times are GMT. The time now is 09:22 AM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org