]> code.ossystems Code Review - openembedded-core.git/commit
debian: Add versions to RPROVIDES
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 16 Jul 2015 22:48:51 +0000 (23:48 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 20 Jul 2015 09:39:00 +0000 (10:39 +0100)
commit8b9df5112443c1b712cb5c63128bebbbd38cd7fc
treea500999656d69f3b4e28e419e8bb4474b02858ff
parentd29595925b699827fbd3279ee5368e32e0a380f3
debian: Add versions to RPROVIDES

Recently, libspeexdsp-dev added RCONFLICTS = "speex-dev < 1.2rc2". where
libspeexdsp is 1.2rc3. That all seems reasonable, except there is a problem.

debian.bbclass renames speex-dev to libspeex-dev and adds a "Provides: speex-dev"
which the packaging backends duly note. The trouble is rpm sees that as having no
version at all. This means that "speex-dev < 1.2rc2" conflicts with "speex-dev"
and the -dev package simply cannot be installed.

We can't simply version all Provides for rpm since some dependencies clearly
shouldn't be versioned (e.g. the locale ones).

The solution that seems to work best is to add the versions in debian.bbclass.
If the backend doesn't like these, the backend can then strip them off
(separate patch does this).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/debian.bbclass