[Mageia-dev] rpmlib(TildeInVersions)

2012-12-27 Thread Pascal Terjan
Does anyone know what this means?

rpmlib(TildeInVersions) = 4.10.0-1 is needed by
lib64ftgl-devel-2.1.3-0.rc5.8.mga3.x86_64


Re: [Mageia-dev] rpmlib(TildeInVersions)

2012-12-27 Thread nicolas vigier
On Thu, 27 Dec 2012, Pascal Terjan wrote:

 Does anyone know what this means?
 
 rpmlib(TildeInVersions) = 4.10.0-1 is needed by
 lib64ftgl-devel-2.1.3-0.rc5.8.mga3.x86_64

Recent versions of rpm support tilde in version numbers.

And it seems lib64ftgl-devel-2.1.3-0.rc5.8.mga3.x86_64 use a ~ in a
provide :
pkgconfig(ftgl) = 2.1.3~rc5

So it requires a version of rpm that support tilde in version numbers.



Re: [Mageia-dev] rpmlib(TildeInVersions)

2012-12-27 Thread Pascal Terjan
On Thu, Dec 27, 2012 at 10:38 AM, nicolas vigier bo...@mars-attacks.org wrote:
 On Thu, 27 Dec 2012, Pascal Terjan wrote:

 Does anyone know what this means?

 rpmlib(TildeInVersions) = 4.10.0-1 is needed by
 lib64ftgl-devel-2.1.3-0.rc5.8.mga3.x86_64

 Recent versions of rpm support tilde in version numbers.

 And it seems lib64ftgl-devel-2.1.3-0.rc5.8.mga3.x86_64 use a ~ in a
 provide :
 pkgconfig(ftgl) = 2.1.3~rc5

Well this provide is not new :)

 So it requires a version of rpm that support tilde in version numbers.

It seems to require an old version(= 4.10.0-1), which is strange

So the problem would be that this rpm is not installable with urpmi
--root if rpm outside of the chroot is too old (rpm 4.9.1.3 from
mageia 2).
I guess I will need to fix iurt to support --urpmi-root when rebuilding a media


Re: [Mageia-dev] rpmlib(TildeInVersions)

2012-12-27 Thread Thomas Backlund

Pascal Terjan skrev 27.12.2012 13:12:

On Thu, Dec 27, 2012 at 10:38 AM, nicolas vigier bo...@mars-attacks.org wrote:

On Thu, 27 Dec 2012, Pascal Terjan wrote:


Does anyone know what this means?

rpmlib(TildeInVersions) = 4.10.0-1 is needed by
lib64ftgl-devel-2.1.3-0.rc5.8.mga3.x86_64


Recent versions of rpm support tilde in version numbers.

And it seems lib64ftgl-devel-2.1.3-0.rc5.8.mga3.x86_64 use a ~ in a
provide :
pkgconfig(ftgl) = 2.1.3~rc5


Well this provide is not new :)


So it requires a version of rpm that support tilde in version numbers.


It seems to require an old version(= 4.10.0-1), which is strange

So the problem would be that this rpm is not installable with urpmi
--root if rpm outside of the chroot is too old (rpm 4.9.1.3 from
mageia 2).
I guess I will need to fix iurt to support --urpmi-root when rebuilding a media



Or fix the package to not use a tilde in provides :)

--
Thomas



Re: [Mageia-dev] rpmlib(TildeInVersions)

2012-12-27 Thread Pascal Terjan
On Thu, Dec 27, 2012 at 12:34 PM, Thomas Backlund t...@mageia.org wrote:
 Pascal Terjan skrev 27.12.2012 13:12:

 On Thu, Dec 27, 2012 at 10:38 AM, nicolas vigier bo...@mars-attacks.org
 wrote:

 On Thu, 27 Dec 2012, Pascal Terjan wrote:

 Does anyone know what this means?

 rpmlib(TildeInVersions) = 4.10.0-1 is needed by
 lib64ftgl-devel-2.1.3-0.rc5.8.mga3.x86_64


 Recent versions of rpm support tilde in version numbers.

 And it seems lib64ftgl-devel-2.1.3-0.rc5.8.mga3.x86_64 use a ~ in a
 provide :
 pkgconfig(ftgl) = 2.1.3~rc5


 Well this provide is not new :)

 So it requires a version of rpm that support tilde in version numbers.


 It seems to require an old version(= 4.10.0-1), which is strange

 So the problem would be that this rpm is not installable with urpmi
 --root if rpm outside of the chroot is too old (rpm 4.9.1.3 from
 mageia 2).
 I guess I will need to fix iurt to support --urpmi-root when rebuilding a
 media


 Or fix the package to not use a tilde in provides :)

This is an automatic provides from the version in pkg-config file


Re: [Mageia-dev] rpmlib(TildeInVersions)

2012-12-27 Thread Charles A Edwards
On Thu, 27 Dec 2012 12:54:16 +
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


Charles

-- 
I put aside my copy of BOWLING WORLD and think about GUN CONTROL
legislation...
--
Mageia release 3 (Cauldron) for x86_64$
On SuperSizehttp://www.eslrahc.com
Registered Linux user #182463
3.7.1-server-1.mga3 x86_64
--


signature.asc
Description: PGP signature


Re: [Mageia-dev] rpmlib(TildeInVersions)

2012-12-27 Thread Pascal Terjan
On Thu, Dec 27, 2012 at 3:37 PM, Charles A Edwards c...@eslrahc.com wrote:
 On Thu, 27 Dec 2012 12:54:16 +
 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.


Re: [Mageia-dev] rpmlib(TildeInVersions)

2012-12-27 Thread Christiaan Welvaart

On Thu, 27 Dec 2012, Pascal Terjan wrote:


On Thu, Dec 27, 2012 at 3:37 PM, Charles A Edwards c...@eslrahc.com wrote:

On Thu, 27 Dec 2012 12:54:16 +
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.



Christiaan


Re: [Mageia-dev] rpmlib(TildeInVersions)

2012-12-27 Thread Pascal Terjan
On Thu, Dec 27, 2012 at 4:27 PM, Christiaan Welvaart
c...@daneel.dyndns.org wrote:
 On Thu, 27 Dec 2012, Pascal Terjan wrote:

 On Thu, Dec 27, 2012 at 3:37 PM, Charles A Edwards c...@eslrahc.com
 wrote:

 On Thu, 27 Dec 2012 12:54:16 +
 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 :) )