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