diff --git a/ThirdParty/rpmBuild/SPECS/PyFoam-0.5.6.spec b/ThirdParty/rpmBuild/SPECS/PyFoam-0.5.6.spec index 77ba4a890..5b8c78cc8 100644 --- a/ThirdParty/rpmBuild/SPECS/PyFoam-0.5.6.spec +++ b/ThirdParty/rpmBuild/SPECS/PyFoam-0.5.6.spec @@ -88,8 +88,8 @@ Group: Development/Tools %setup -q %build - # Nothing to do - # true + # Make the shebang line portable + python setup.py build --executable "/usr/bin/env python" %install python setup.py install --prefix=$RPM_BUILD_ROOT/%{_installPrefix} diff --git a/ThirdParty/rpmBuild/SPECS/PyFoam-0.5.7.spec b/ThirdParty/rpmBuild/SPECS/PyFoam-0.5.7.spec index 50ff096e4..b0592469c 100644 --- a/ThirdParty/rpmBuild/SPECS/PyFoam-0.5.7.spec +++ b/ThirdParty/rpmBuild/SPECS/PyFoam-0.5.7.spec @@ -88,8 +88,8 @@ Group: Development/Tools %setup -q %build - # Nothing to do - # true + # Make the shebang line portable + python setup.py build --executable "/usr/bin/env python" %install python setup.py install --prefix=$RPM_BUILD_ROOT/%{_installPrefix}