rpms/towhee/devel towhee.spec,1.5,1.6
Jussi Lehtola
jussilehtola at fedoraproject.org
Thu Jul 16 17:11:30 UTC 2009
Author: jussilehtola
Update of /cvs/pkgs/rpms/towhee/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7785/devel
Modified Files:
towhee.spec
Log Message:
Restore ExcludeArch.
Index: towhee.spec
===================================================================
RCS file: /cvs/pkgs/rpms/towhee/devel/towhee.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- towhee.spec 16 Jul 2009 16:38:59 -0000 1.5
+++ towhee.spec 16 Jul 2009 17:11:30 -0000 1.6
@@ -1,6 +1,6 @@
Name: towhee
Version: 6.2.6
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A Monte Carlo molecular simulation code
Group: Applications/Engineering
License: GPLv2+
@@ -9,7 +9,11 @@ Source0: http://downloads.sourceforge.ne
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
Provides: towhee-executable = %{version}-%{release}
Requires: towhee-common = %{version}-%{release}
-#ExcludeArch: ppc64
+
+# Bug 502883
+# Error: operand out of range (0x0000000000008008 is not between 0xffffffffffff8000 and 0x0000000000007fff)
+# -mminimal-toc doesn't help
+ExcludeArch: ppc64
BuildRequires: gcc-gfortran
BuildRequires: openmpi-devel
@@ -115,17 +119,6 @@ done
# Use gfortran, not g77.
export F77=gfortran
-# Workaround for https://bugzilla.redhat.com/show_bug.cgi?id=502883
-%ifarch ppc64
-export CFLAGS="%{optflags} -mminimal-toc"
-export CXXFLAGS="%{optflags} -mminimal-toc"
-export FFLAGS="%{optflags} -mminimal-toc"
-%else
-export FFLAGS="%{optflags}"
-export CXXFLAGS="%{optflags}"
-export CFLAGS="%{optflags}"
-%endif
-
## Build serial version
mkdir nompi
cd nompi
@@ -220,6 +213,9 @@ rm -rf %{buildroot}
%changelog
* Thu Jul 16 2009 Jussi Lehtola <jussilehtola at fedoraproject.org> - 6.2.6-1
+- Restore ExcludeArch: ppc64.
+
+* Thu Jul 16 2009 Jussi Lehtola <jussilehtola at fedoraproject.org> - 6.2.6-1
- Update to upstream 6.2.6.
* Wed Jun 17 2009 Jussi Lehtola <jussilehtola at fedoraproject.org> - 6.2.5-1
More information about the fedora-extras-commits
mailing list