Skip to contentSkip to conversation

openjdk-7-jre: RDEPENDS openjdk-7-common

PATCH New Magnus Olsson 1 participant 1 message Mar 11, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 openjdk-7-jre: RDEPENDS openjdk-7-common

-jre binaries such as keytool, policytool and more requires libjli.so so ensure there's a RDEPEND that provides it.

Same goes for openjdk-7-java (java binary FILERDEPENDS libjli.so).

Both of these already DEPENDS -common, so the build was not broken before but this patch will also silence the QA file-rdeps issue.

---
 recipes-core/openjdk/openjdk-7-common.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
recipes-core/openjdk/openjdk-7-common.inc +2 -1
index e14603c..55d010e 100644
@@ -323,7 +323,8 @@ FILES_${JDKPN}-jdk = " \
                        ${JDK_HOME}/lib \
                        ${JDK_HOME}/include \
                       "
-RDEPENDS_${JDKPN}-jre = "${JDKPN}-java"
+RDEPENDS_${JDKPN}-jre = "${JDKPN}-java ${JDKPN}-common"
+RDEPENDS_${JDKPN}-java = "${JDKPN}-common"
 RPROVIDES_${JDKPN}-jre = "java2-runtime"
 
 RDEPENDS_${JDKPN}-jdk = "${JDKPN}-jre"
Signature · 1 line
1.9.1