diff --git a/shedskin.spec b/shedskin.spec index ad7ae2b..ea0290d 100644 --- a/shedskin.spec +++ b/shedskin.spec @@ -51,6 +51,9 @@ and used in larger Python programs. %prep %setup -q -n %{name}-%{version} +%if 0%{?rhel} == 5 +sed -i "s/-march=native//g" shedskin/FLAGS +%endif %build @@ -84,6 +87,7 @@ rm -rf %{buildroot} * Wed Jun 15 2011 Thomas Spura - 0.8-1 - update to new version - run tests, when building +- delete -march=native on el5 * Wed Feb 23 2011 Thomas Spura - 0.7.1-1 - update to new version