Patchwork mesa-dri: add correct RPROVIDES for the -dev packages

login
register
mail settings
Submitter Ross Burton
Date Nov. 20, 2012, 6:18 p.m.
Message ID <1353435491-26798-1-git-send-email-ross.burton@intel.com>
Download mbox | patch
Permalink /patch/39371/
State Accepted
Commit 8d224244a016adc889be132d9994d7c517f7eae3
Headers show

Comments

Ross Burton - Nov. 20, 2012, 6:18 p.m.
The -dev packages were RPROVIDEing the non-dev names, which is clearly wrong.

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/recipes-graphics/mesa/mesa-common.inc |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/meta/recipes-graphics/mesa/mesa-common.inc b/meta/recipes-graphics/mesa/mesa-common.inc
index 9e42dbf..d5f83e4 100644
--- a/meta/recipes-graphics/mesa/mesa-common.inc
+++ b/meta/recipes-graphics/mesa/mesa-common.inc
@@ -12,7 +12,7 @@  SECTION = "x11"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://docs/license.html;md5=03ccdc4c379c4289aecfb8892c546f67"
 
-INC_PR = "r4"
+INC_PR = "r5"
 PE = "2"
 
 DEPENDS = "libxml2-native makedepend-native flex-native bison-native"
@@ -69,7 +69,7 @@  python __anonymous() {
         
         # For -dev, the first element is both the Debian and original name
         fullp += "-dev"
-        pkgs = p[0]
+        pkgs = p[0] + "-dev"
         d.setVar("DEBIAN_NOAUTONAME_" + fullp, "1")
         d.appendVar("RREPLACES_" + fullp, pkgs)
         d.appendVar("RPROVIDES_" + fullp, pkgs)