On 02/10/2011 08:09 PM, [email protected] wrote:

Paolo: Please update us about the latest status with using the
old package.

libmeegochat depends on compat-telepathy-qt4. This is expressed with a versioned dependency:

BuildRequires: pkgconfig(TelepathyQt4) < 0.5

This resolves the ambiguity and allows the package to build correctly, but the built -devel binary has as requirements:

$ rpm -qp --requires /var/tmp/build-root/home/abuild/rpmbuild/RPMS/i586/libmeegochat-devel-0.1.0-1.i586.rpm

/usr/bin/pkg-config
libmeegochat = 0.1.0-1
libmeegochat.so.0
pkgconfig(QtContacts)
pkgconfig(QtDBus)
pkgconfig(TelepathyQt4)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(VersionedDependencies) <= 3.0.3-1

I believe this is a bug/limitation in rpmbuild, which fails for some reason to preserve version constraints in the pkgconfig dependency in this case.

I tried as a workaround to add an explicit requires for the devel package (which should not be necessary because they are added automatically), but this just adds the versioned dependency alongside the absolute one.

I put the packages with this workaround in my home project in OBS, but they have been in 'blocked' state for a while now, so I'm not sure if this is actually going to solve the issue.

I can submit this fix if people think this is an acceptable solution.

Anyway, if someone has an explanation why versioned dependencies are not preserved in this -devel package, we might be able to find a proper fix.

BR,
Paolo Capriotti
_______________________________________________
MeeGo-packaging mailing list
[email protected]
http://lists.meego.com/listinfo/meego-packaging

Reply via email to