Patchwork [3/4] zypper: add machine arch support

login
register
mail settings
Submitter Qing He
Date March 14, 2011, 11:54 a.m.
Message ID <d3e843d9e26a4954fa77a21dbfa7f756fad9dbd4.1300103431.git.qing.he@intel.com>
Download mbox | patch
Permalink /patch/1391/
State New, archived
Headers show

Comments

Qing He - March 14, 2011, 11:54 a.m.
From: Qing He <qing.he@intel.com>

Since libzypp is now of ${MACHINE_ARCH}, change zypper to base
on this arch to.

Signed-off-by: Qing He <qing.he@intel.com>
---
 meta/recipes-extended/zypper/zypper_git.bb |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

Patch

diff --git a/meta/recipes-extended/zypper/zypper_git.bb b/meta/recipes-extended/zypper/zypper_git.bb
index af6bd49..9258477 100644
--- a/meta/recipes-extended/zypper/zypper_git.bb
+++ b/meta/recipes-extended/zypper/zypper_git.bb
@@ -6,7 +6,7 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=3201406e350b39e05a82e28b5020f413"
 
 DEPENDS  = "libzypp augeas"
 RRECOMMENDS_${PN} = "procps util-linux-uuidgen"
-PR = "r4"
+PR = "r5"
 
 inherit cmake
 
@@ -18,3 +18,5 @@  SRC_URI = "git://gitorious.org/opensuse/zypper.git;protocol=git \
 S = "${WORKDIR}/git"
 
 PV = "1.5.3-git${SRCPV}"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"