diff options
author | Baptiste DURAND <baptiste.durand@open.eurogiciel.org> | 2014-05-13 16:28:08 +0200 |
---|---|---|
committer | Baptiste DURAND <baptiste.durand@open.eurogiciel.org> | 2014-05-13 16:30:14 +0200 |
commit | e37301c081d978ae4af1f1b2b917221616d0dafe (patch) | |
tree | 0cbea76114dd63735c1aab5ad0cb259c112db0b5 /packaging | |
parent | 6658b98accc8a164720e642472594f9a6c8d5691 (diff) | |
download | qemu-accel-e37301c081d978ae4af1f1b2b917221616d0dafe.tar.gz qemu-accel-e37301c081d978ae4af1f1b2b917221616d0dafe.tar.bz2 qemu-accel-e37301c081d978ae4af1f1b2b917221616d0dafe.zip |
[ARM v7l] Fix build for x64 hosttizen_3.0.m14.3_ivi_releasetizen_3.0.m14.2_ivi_release
Change-Id: I8c9fd68f5c09356aa6c3c1429908d275a64d229f
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/qemu-accel-armv7l.spec | 9 |
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 |