diff options
-rw-r--r-- | icu-last.spec | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/icu-last.spec b/icu-last.spec index 89de770..c8ab926 100644 --- a/icu-last.spec +++ b/icu-last.spec @@ -140,7 +140,15 @@ make %{?_smp_mflags} -C source install-doc docdir=__docs chmod +x $RPM_BUILD_ROOT%{_libdir}/*.so.* ( cd $RPM_BUILD_ROOT%{_bindir} +%if 0%{?__isa_bits} mv icu-config icu-config-%{__isa_bits} +%else +%ifarch x86_64 s390x ppc64 sparc64 aarch64 + mv icu-config icu-config-64 +%else + mv icu-config icu-config-32 +%endif +%endif ) install -p -m755 -D %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/icu-config |