[Mageia-dev] rpmlib(TildeInVersions)

Pascal Terjan pterjan at gmail.com
Thu Dec 27 17:56:01 CET 2012


On Thu, Dec 27, 2012 at 4:27 PM, Christiaan Welvaart
<cjw at daneel.dyndns.org> wrote:
> On Thu, 27 Dec 2012, Pascal Terjan wrote:
>
>> On Thu, Dec 27, 2012 at 3:37 PM, Charles A Edwards <CAE at eslrahc.com>
>> wrote:
>>>
>>> On Thu, 27 Dec 2012 12:54:16 +0000
>>> Pascal Terjan wrote:
>>>
>>>>> Or fix the package to not use a tilde in provides :)
>>>>
>>>>
>>>> This is an automatic provides from the version in pkg-config file
>>>
>>>
>>> Then why not use
>>> define _provides_exceptions
>>
>>
>> This provides is correct and may be used by other packages, I see no
>> reason to remove it
>>
>> Old rpm accepts it
>>
>> New rpm accepts it and handles it slightly better
>>
>> I don't really see a reason to forbid installing the package with an
>> old version rpm if it was built with the new rpm given that the
>> produced rpm is exactly the same apart from this added
>> rpmlib(TildeInVersions) fake dependency and it would work perfectly
>> fine without it.
>
>
> AFAICT a Requires: pkgconfig(ftgl) < 2.1.3 will be rejected by old rpm but
> matched by new rpm. We may need to backport this feature.

Yes but the provides was already there on Mageia 2 and at least will
work find if something requires unversionned pkgconfig(ftgl)
(and 2.1.3~rc5 is likely to have 2.1.3 API so < 2.1.3 not matching is
a good thing :) )


More information about the Mageia-dev mailing list