[gromacs] Fix issue on 32-bit build archs.

Jussi Lehtola jussilehtola at fedoraproject.org
Fri Oct 8 23:15:30 UTC 2010


commit 0c11ab37b4230233b28a155e08a5a218adc5050f
Author: Jussi Lehtola <jussilehtola at fedoraproject.org>
Date:   Sat Oct 9 02:15:37 2010 +0300

    Fix issue on 32-bit build archs.

 gromacs.spec |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gromacs.spec b/gromacs.spec
index 2a9c010..61d72d0 100644
--- a/gromacs.spec
+++ b/gromacs.spec
@@ -387,10 +387,12 @@ cd ..
 ## Now, the rest of the necessary stuff
 
 # Fix location of libraries
+%ifarch x86_64 sparc64
 mv %{buildroot}/usr/lib/*.so* %{buildroot}%{_libdir}/
 # and pkgconfig files
 mkdir -p %{buildroot}%{_libdir}/pkgconfig/
 mv %{buildroot}/usr/lib/pkgconfig/* %{buildroot}%{_libdir}/pkgconfig/
+%endif
 
 # Install manual & packager's note
 install -cpm 644 %{SOURCE1} .


More information about the scm-commits mailing list