From 6f69e55399cb8734b1279bdfe5ee8f005bf868a5 Mon Sep 17 00:00:00 2001 From: Martin Beaudoin Date: Sat, 21 Apr 2012 15:49:09 -0400 Subject: [PATCH] PyFoam installation: make the shebang line portable for the PyFoam application scripts --- ThirdParty/rpmBuild/SPECS/PyFoam-0.5.6.spec | 4 ++-- ThirdParty/rpmBuild/SPECS/PyFoam-0.5.7.spec | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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}