Correct conflict between rpm and rpm-native
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Tue, 15 Apr 2014 07:52:38 +0000 (09:52 +0200)
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Tue, 15 Apr 2014 07:59:11 +0000 (09:59 +0200)
Remove rpm-native_git.bb and add BBCLASSEXTEND = "native" to rpm_git.bb
to replace rpm-native.

Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
recipes-tizen/rpm/rpm-native_git.bb [deleted file]
recipes-tizen/rpm/rpm.inc
recipes-tizen/rpm/rpm_git.bb

diff --git a/recipes-tizen/rpm/rpm-native_git.bb b/recipes-tizen/rpm/rpm-native_git.bb
deleted file mode 100644 (file)
index 48dcf58..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-require rpm.inc
-
-PRIORITY = "9"
-
-inherit native
-
-S = "${WORKDIR}/git"
-
-LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-
-SRC_URI += "git://review.tizen.org/platform/upstream/rpm;protocol=ssh;tag=900e279b9481a75ede028707fe5a0a2bb2801a8f;nobranch=1"
-
index 84cae76..8992400 100644 (file)
@@ -74,7 +74,7 @@ DEPENDS += "file"
 DEPENDS += "popt"
 DEPENDS += "uthash"
 DEPENDS += "nss"
-DEPENDS += "gcc-cross"
+DEPENDS_build += "gcc-cross"
 DEPENDS += "elfutils"
 DEPENDS += "patch"
 DEPENDS += "lua"
@@ -176,7 +176,7 @@ do_install() {
 
  mkdir -p ${D}${prefix}/lib
  mkdir -p ${D}${prefix}/share/locale
- ln -s ../share/locale ${D}${prefix}/lib/locale
+ ln -sf ../share/locale ${D}${prefix}/lib/locale
 
    oe_runmake \
          DESTDIR=${D} \
@@ -199,7 +199,7 @@ do_install() {
  install -m 755 ${S}/packaging/find-provides.ksyms ${D}${prefix}/lib/rpm
  install -m 644 ${S}/packaging/device-sec-policy ${D}${sysconfdir}/device-sec-policy
  install -m 644 ${S}/packaging/device-sec-policy ${D}${prefix}/lib/rpm-plugins/msm-device-sec-policy
- ln -s ../tizen_macros ${D}${prefix}/lib/rpm/tizen/macros
+ ln -sf ../tizen_macros ${D}${prefix}/lib/rpm/tizen/macros
  for d in BUILD RPMS SOURCES SPECS SRPMS BUILDROOT ; do
    mkdir -p ${D}${prefix}/src/packages/$d
    chmod 755 ${D}${prefix}/src/packages/$d
index 8c11fae..f657621 100644 (file)
@@ -6,3 +6,4 @@ LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd64
 
 SRC_URI += "git://review.tizen.org/platform/upstream/rpm;protocol=ssh;tag=900e279b9481a75ede028707fe5a0a2bb2801a8f;nobranch=1"
 
+BBCLASSEXTEND = "native"
\ No newline at end of file