diff options
Diffstat (limited to 'packaging/qemu-accel.spec')
-rw-r--r-- | packaging/qemu-accel.spec | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/packaging/qemu-accel.spec b/packaging/qemu-accel.spec index 7ba6c71..8604dbc 100644 --- a/packaging/qemu-accel.spec +++ b/packaging/qemu-accel.spec @@ -86,7 +86,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-gcc47-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 @@ -163,7 +163,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} @@ -208,6 +208,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 |