summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-10-27 12:52:02 +0100
committerRemi Collet <fedora@famillecollet.com>2013-10-27 12:52:02 +0100
commit6f7921581bc6c69ca79112d93f5eb666a21c6ecb (patch)
treeedd5b33ea8aa0a3689ab0639fbf8be7eb106438f
parent230b9c7ae653fc48817325c84601eba0046ab7ba (diff)
icu-last: fix EL-5 build
-rw-r--r--icu-last.spec8
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