Patchwork [3/6,v3] binutils: Ensure old -symlinks packages get removed

login
register
mail settings
Submitter Mark Hatle
Date Nov. 13, 2013, 2:19 p.m.
Message ID <1384352346-12891-2-git-send-email-mark.hatle@windriver.com>
Download mbox | patch
Permalink /patch/61621/
State New
Headers show

Comments

Mark Hatle - Nov. 13, 2013, 2:19 p.m.
When the -symlinks package was removed and an RPROVIDES was added, nothing
was put in to cause the removal of the older package in an upgrade.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
---
 meta/recipes-devtools/binutils/binutils.inc | 2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc
index 17c66bc..77b3718 100644
--- a/meta/recipes-devtools/binutils/binutils.inc
+++ b/meta/recipes-devtools/binutils/binutils.inc
@@ -21,6 +21,8 @@  FILES_${PN} = " \
 	${prefix}/${TARGET_SYS}/bin/*"
 
 RPROVIDES_${PN} += "${PN}-symlinks"
+RREPLACES_${PN} += "${PN}-symlinks"
+RCONFLICTS_${PN} += "${PN}-symlinks"
 
 FILES_${PN}-dev = " \
 	${includedir} \