RPM Community Forums

Mailing List Message of <rpm-devel>

Re: ordering issues

From: Jeff Johnson <n3npq@mac.com>
Date: Thu 13 Jan 2011 - 17:30:21 CET
Message-id: <0FF89918-F3D0-4194-815B-400B1B34762D@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 ;-)

73 de Jeff

  • application/pkcs7-signature attachment: smime.p7s
Received on Thu Jan 13 17:31:19 2011
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.