RPM Community Forums

Mailing List Message of <rpm-devel>

Re: ordering issues

From: Per Øyvind Karlsen <pkarlsen@rpm5.org>
Date: Thu 13 Jan 2011 - 18:16:09 CET
Message-ID: <AANLkTi=-9uo=nJY3XmvPisE5A+pe1Bjb4YLEodE8cM9+@mail.gmail.com>
2011/1/13 Jeff Johnson <n3npq@mac.com>:
> On Jan 13, 2011, at 10:42 AM, Per Øyvind Karlsen wrote:
>>>>> Well, I dunno at which time it might've changed, but with rpm 4.6
>>>>> Requires(pre,prein,post,postun): were sorted to be ordered before
>>>>> Requires:, which is something the packaging in cooker has been heavily
>>>>> relying on..
>>> If this is true, then point me at the code that sorts Requires(foo): before Requires:.
>> I wish I could point to the specific code, but wrapping my head around
>> lib/order.c isn't that easy, otherwise I'd probably just jack the code
>> in question and be done with it already rather than asking for help
>> here.. ;)
> Hint: What you suggested, that Requires(pre): etc are sorted before Requires:,
> has never been implemented in RPM. Or show me the code and prove me wrong ;-)
Well, I wish I could, here's the last rpm-4.6.1-5 package that was in
cooker before the switch though:

For it not being implemented, would it be a sane behaviour that's
feasible to implement?

Per Øyvind
Received on Thu Jan 13 18:16:32 2011
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.