diff --git a/openbabel.spec b/openbabel.spec index b8e0351..3830081 100644 --- a/openbabel.spec +++ b/openbabel.spec @@ -94,8 +94,7 @@ Ruby wrapper for the Open Babel library. %build %if 0%{?fedora} >= 9 %ifarch ppc64 -export CFLAGS="$RPM_OPT_FLAGS -Os -fno-inline-small-functions" -export CXXFLAGS="$RPM_OPT_FLAGS -Os -fno-inline-small-functions" +sed -i -e 's/-python /-python -fcompact /g' scripts/Makefile.am %endif %endif autoreconf --force --install @@ -187,7 +186,7 @@ popd %changelog * Thu May 08 2008 Kevin Kofler 2.2.0-0.3.b4 -- add -Os -fno-inline-small-functions to optflags on F9+ ppc64 (#427700) +- generate Python binding with -fcompact on F9+ ppc64 (#427700) * Sun Mar 02 2008 Dominik Mierzejewski 2.2.0-0.2.b4 - updated to 2.2.0 beta4