summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@open.eurogiciel.org>2014-08-29 18:30:45 +0200
committerJosé Bollo <jose.bollo@open.eurogiciel.org>2014-08-29 18:30:45 +0200
commit32fe18060f42d9427d986f4fb5b93b28fb9caad3 (patch)
tree202dfe4789f03f2aefa11bd6ea50be515a11eb65
parent707bcdbbc1e54fbd0c8a7fbd5eb76928888c515b (diff)
downloadqemu-accel-32fe18060f42d9427d986f4fb5b93b28fb9caad3.tar.gz
qemu-accel-32fe18060f42d9427d986f4fb5b93b28fb9caad3.tar.bz2
qemu-accel-32fe18060f42d9427d986f4fb5b93b28fb9caad3.zip
Change-Id: Ibd89d6f7fbc4e5ce056139b38d9f393f66ba4c5f Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
-rw-r--r--packaging/qemu-accel-armv7l.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/qemu-accel-armv7l.spec b/packaging/qemu-accel-armv7l.spec
index 43f8067..154fb9d 100644
--- a/packaging/qemu-accel-armv7l.spec
+++ b/packaging/qemu-accel-armv7l.spec
@@ -26,7 +26,7 @@
# If the macro was undefined, set it to this default value:
%define gcc_version 49
%endif
-%{expand:%%define gcc_version_dot %(echo "%{gcc_version}" | sed -e "s/\([0-9]\)\([0-9]\)/\1.\2/g")}
+%{expand:%%define gcc_version_dot %(echo -n "%{gcc_version}" | sed -e "s/\([0-9]\)\([0-9]\)/\1.\2/g")}
Name: qemu-accel-armv7l
Version: 0.4
@@ -54,7 +54,7 @@ Group: Development/Libraries/Cross
ExclusiveArch: x86_64 %ix86
# default path in qemu
-%define HOST_ARCH %(echo %{_host_cpu} | sed -e "s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;")
+%define HOST_ARCH %(echo -n "%{_host_cpu}" | sed -e "s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;")
%define our_path /emul/%{HOST_ARCH}-for-arm
%ifarch %ix86
%define icecream_cross_env cross-armv7l-gcc%{gcc_version}-icecream-backend_i386