diff options
Diffstat (limited to 'packaging/qemu-accel-armv7hl.spec')
-rw-r--r-- | packaging/qemu-accel-armv7hl.spec | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/packaging/qemu-accel-armv7hl.spec b/packaging/qemu-accel-armv7hl.spec index fb85986..25d5e62 100644 --- a/packaging/qemu-accel-armv7hl.spec +++ b/packaging/qemu-accel-armv7hl.spec @@ -104,7 +104,7 @@ cp -a /usr/share/icecream-envs/%{icecream_cross_env}.tar.gz \ # And extract it for direct usage tar xvz -C %buildroot%{our_path}/usr/share/icecream-envs/%{icecream_cross_env} -f /usr/share/icecream-envs/cross-armv7hl-gcc48-icecream-backend_*.tar.gz # It needs a tmp working directory which is writable -install -d -m0777 %buildroot%{our_path}/usr/share/icecream-envs +install -d -m0755 %buildroot%{our_path}/usr/share/icecream-envs %endif for binary in $binaries @@ -182,7 +182,7 @@ exec -a /usr/bin/as %{our_path}/usr/bin/as.real -meabi=5 "$@" chmod +x %{buildroot}%{our_path}/usr/bin/as # allow abuild to do the mv -chmod 777 %{buildroot}/emul +chmod 755 %{buildroot}/emul # make cross ld work with emulated compilers mv %{buildroot}%{our_path}/usr/arm-tizen-linux-gnueabi/bin/ld{,.real} @@ -227,6 +227,13 @@ cp -L /usr/bin/qemu-arm{,-binfmt} %buildroot/qemu/ export NO_BRP_CHECK_RPATH="true" +# Install glibc-locale, otherwise msgmerge >= 0.18.3 fails +cp -R /usr/lib/{gconv,locale} %{buildroot}%{our_path}/usr/lib +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 set -x if [ $(uname -m) = armv7l ]; then |