summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste DURAND <baptiste.durand@open.eurogiciel.org>2014-05-13 16:28:08 +0200
committerBaptiste DURAND <baptiste.durand@open.eurogiciel.org>2014-05-13 16:30:14 +0200
commite37301c081d978ae4af1f1b2b917221616d0dafe (patch)
tree0cbea76114dd63735c1aab5ad0cb259c112db0b5
parent6658b98accc8a164720e642472594f9a6c8d5691 (diff)
downloadqemu-accel-e37301c081d978ae4af1f1b2b917221616d0dafe.tar.gz
qemu-accel-e37301c081d978ae4af1f1b2b917221616d0dafe.tar.bz2
qemu-accel-e37301c081d978ae4af1f1b2b917221616d0dafe.zip
Change-Id: I8c9fd68f5c09356aa6c3c1429908d275a64d229f Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
-rw-r--r--packaging/qemu-accel-armv7l.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/packaging/qemu-accel-armv7l.spec b/packaging/qemu-accel-armv7l.spec
index 8b844cb..1715101 100644
--- a/packaging/qemu-accel-armv7l.spec
+++ b/packaging/qemu-accel-armv7l.spec
@@ -246,10 +246,17 @@ cp -L /usr/bin/qemu-arm{,-binfmt} %buildroot/qemu/
export NO_BRP_CHECK_RPATH="true"
# Install glibc-locale, otherwise msgmerge >= 0.18.3 fails
+%ifarch x86_64
+cp -R /usr/lib64/gconv %{buildroot}%{our_path}/usr/lib64
+cp -R /usr/lib/locale %{buildroot}%{our_path}/usr/lib
+chmod 755 %{buildroot}%{our_path}/usr/lib/locale
+chmod 755 %{buildroot}%{our_path}/usr/lib64/gconv
+%else
cp -R /usr/lib/{gconv,locale} %{buildroot}%{our_path}/usr/lib
+chmod 755 %{buildroot}%{our_path}/usr/lib/{gconv,locale}
+%endif
cp -R /usr/share/locale %{buildroot}%{our_path}/usr/share
# Fix permissions for abuild
-chmod 755 %{buildroot}%{our_path}/usr/lib/{gconv,locale}
chmod 755 %{buildroot}%{our_path}/usr/share/locale
%post