[OpenAFS-devel] [PATCH] change OpenAFS-1.2.10 SRPM to work better with RedHat
Derek Atkins
warlord@MIT.EDU
18 Aug 2003 09:41:32 -0400
David Howells <dhowells@redhat.com> writes:
> With the extra change I've suggested (plus a couple more that might be useful
> to make building more controllable), this can be automated very easily - from
> outside of the spec file - which is the correct place to do it IMO.
I agree that making it controllable from outside the spec file is a
good idea. HOWEVER, for my personal sanity I'd like to be able to
just say "rpmbuild -ba openafs.spec" and have it build _EVERYTHING_
for me.
> Another reason for stripping that building against multiple kernel sources is
> that it RPM can't do prerequisite dependency properly otherwise. And not being
> able to do that renders automated package delivery more difficult.
I dont understand what this means.. This sentence does not pass my
wetware English-parser, could you try it again? I think you mean that
having RPM do the multiple builds itself means you cannot create a
proper BuildDepends line? Is that what you mean?
> Although it might be nice to have the spec file generate an arbitrary list of
> RPMs for the various kernels that it can only find out about by listing
> /lib/modules, I don't think it's possible from within the spec file.
Why not? I did it before... ;)
> David
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord@MIT.EDU PGP key available