>> > Well, I don't really find it consistent at all to use an rpm package
>> > built against something that wasn't installed through rpm :-/
>>
>> Following that reasoning, I've been installing all my custom-built
>> kernels through rpm recently. I find it annoying, though, that
>> alsa-kernel, and similar packages, will only build for the currently
>> running kernel.
>>
>> So I've attached a patch to specify an alternate kernel by setting the
>> "TARGET_KERNEL" environment variable before running rpmbuild. You
>> still need to have the rpm for the specified kernel installed, but at
>> least it doesn't have to be currently running. It's kinda hackish, so
>> if someone has a better way to do this, let me know.
>
>That idea looks good although it maybe needs to be tweaked a bit more (what
>you sent doesn't support packages named "kernel-smp"). I'd also prefer a
>cleaner way than the env variable, and preferrably not editing the spec...
>probably "--define 'target 2.4.xx-xx' --with smp". Sound good enough?
>The BuildRequires on "kernel-source" will also need to be removed because
>it won't necessarily need to be true, and that does bug me a bit :-/
Me and my kernel rpm builds ... this all works along the same idea I have
been aiming for, but the freaking RedHat Kernel srpms still have been stump
...
If we could get this and the alsa driver stuff working, it would be whole
lot easier to try out a newer kernel ... but then the size of these rpms
are huge, at least for us n^1 world courties ... ;-{ ...
I will keep watching and hoping that somebody comes up with a great working
idea ...
Thanks guys.
Mailed
Lee
_______________________________________________
RPM-List mailing list <RPM-List@freshrpms.net>
http://lists.freshrpms.net/mailman/listinfo/rpm-list

from localhost (jalapeno [127.0.0.1])
	by jmason.org (Postfix) with ESMTP id E69A916F03
	for <jm@localhost>; Thu,  3 Oct 2002 16:02:51 +0100 (IST)
from jalapeno [127.0.0.1]
	by localhost with IMAP (fetchmail-5.9.0)
	for jm@localhost (single-drop); Thu, 03 Oct 2002 16:02:51 +0100 (IST)
from egwn.net (ns2.egwn.net [193.172.5.4]) by
    dogma.slashnull.org (8.11.6/8.11.6) with ESMTP id g93DOYK30582 for
    <jm-rpm@jmason.org>; Thu, 3 Oct 2002 14:24:35 +0100
from chip.ath.cx (cs144080.pp.htv.fi [213.243.144.80]) by
    egwn.net (8.11.6/8.11.6/EGWN) with ESMTP id g93DKqf25049 for
    <rpm-list@freshrpms.net>; Thu, 3 Oct 2002 15:20:53 +0200
from chip.ath.cx (localhost [127.0.0.1]) by chip.ath.cx
    (8.12.5/8.12.2) with ESMTP id g93DKkSA014138 for <rpm-list@freshrpms.net>;
    Thu, 3 Oct 2002 16:20:46 +0300
from localhost (pmatilai@localhost) by chip.ath.cx
    (8.12.5/8.12.5/Submit) with ESMTP id g93DKk00014134 for
    <rpm-list@freshrpms.net>; Thu, 3 Oct 2002 16:20:46 +0300
From rpm-list-admin@freshrpms.net  Thu Oct  3 16:02:53 2002