Re: can support for "rpm"-based package building just be dropped?

From: Robert P. J. Day
Date: Mon Nov 26 2007 - 10:10:33 EST


On Mon, 26 Nov 2007, Ray Lee wrote:

> On Nov 26, 2007 12:54 AM, Robert P. J. Day <rpjday@xxxxxxxxxxxxxx> wrote:
> > on current systems, "rpm" no longer has build capability and will
> > fail thusly:
> >
> > rpm --target i386 -ta ../kernel-2.6.24rc3g2ffbb837dirty.tar.gz
> > --target: unknown option
> >
> > so it would make more sense to just require "rpmbuild" on the
> > machine, would it not?
>
> Only on current machines. You'd break building kernel RPMs on older
> systems that don't have rpmbuild installed. So the change wouldn't
> fix anything, and would break some non-zero number of setups that
> are currently working, making the change a guaranteed net loss.
>
> A patch that added version checks against rpm and whinged
> appropriately about needing rpmbuild would likely be accepted,
> though.

yes, i suspect that's the right answer.

rday

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://crashcourse.ca
========================================================================
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/