From 511d2f15a73de77b46eda7feb4c6c47371c99e7d Mon Sep 17 00:00:00 2001 From: "shuai.fu" Date: Wed, 12 Oct 2016 10:28:14 +0800 Subject: [PATCH] Add depands packae qemu Change-Id: Ie503aa2be32dd2303c81f51c500f5ea8b1b1ce59 Signed-off-by: shuai.fu --- COPYING | 1 + debian/control | 2 +- packaging/qemu-arm-static.spec | 4 ++++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/COPYING b/COPYING index 00ccfbb62..a8b90a3a9 100644 --- a/COPYING +++ b/COPYING @@ -8,6 +8,7 @@ Preamble + The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free diff --git a/debian/control b/debian/control index 1277c53a3..b2950682d 100644 --- a/debian/control +++ b/debian/control @@ -6,7 +6,7 @@ Build-Depends: debhelper (>= 4.0.0), dpatch, cdbs, pkg-config, python, bzip2, uu Package: qemu-arm-static Architecture: i386 amd64 -Depends: bzip2, uuid-dev, zlib1g-dev, zlib1g, texi2html, libc6 +Depends: bzip2, uuid-dev, zlib1g-dev, zlib1g, texi2html, libc6, qemu Replaces: qemu-user-static Provides: tizen-qemu-arm-static-2013.12.12 Description: QEMU is an extremely well-performing CPU emulator that allows you to choose between simulating an entire system and running userspace binaries for different architectures under your native operating system. It currently emulates x86, ARM, PowerPC and SPARC CPUs as well as PC and PowerMac systems. diff --git a/packaging/qemu-arm-static.spec b/packaging/qemu-arm-static.spec index ed2e4881d..0a22931c6 100644 --- a/packaging/qemu-arm-static.spec +++ b/packaging/qemu-arm-static.spec @@ -44,7 +44,11 @@ BuildRequires: glibc-static BuildRequires: glib2-static BuildRequires: zlib-static %endif +%if 0%{?centos_version} == 600 +%else +Requires: qemu +%endif Provides: qemu:%_bindir/qemu-arm-static Provides: tizen-qemu-arm-static = 2013.12.12 -- 2.34.1