SHA256
6
0
forked from pool/rpm

- invoke find-lang.sh with bash, it is a bash script (bsc#1195391)

by ~220MB (bsc#1195390)

OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=595
This commit is contained in:
2022-02-01 12:47:44 +00:00
committed by Git OBS Bridge
parent 6703aad3fa
commit fd51674578
2 changed files with 7 additions and 2 deletions

View File

@@ -378,7 +378,7 @@ install -m 755 build-aux/config.sub %{buildroot}/usr/lib/rpm
rm -rf %{buildroot}/%{_libdir}/python%{py_ver}
rm -f %{buildroot}%{_libdir}/*.la
rm -f %{buildroot}%{_libdir}/rpm-plugins/*.la
sh %{buildroot}/usr/lib/rpm/find-lang.sh %{buildroot} rpm
bash %{buildroot}/usr/lib/rpm/find-lang.sh %{buildroot} rpm
# On arm the kernel architecture is ignored. Not the best idea, but lets stay compatible with other distros
%ifarch armv7hl armv6hl
# rpm is using the host_cpu as default for the platform, but armv6/7hl is not known by the kernel.