Skip to content

Commit

Permalink
Fix building on RHEL5
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Gillingham authored and Eric Gillingham committed Jun 24, 2015
1 parent 174e034 commit 6334685
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion node-js.centos5.configure.patch
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ diff -aurN node-v0.8.18.orig/configure node-v0.8.18/configure
+++ node-v0.8.18/configure 2012-12-28 22:45:23.000000000 +0900
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python27
+#!/usr/bin/env python2.7
import optparse
import os
import pprint
2 changes: 1 addition & 1 deletion nodejs.spec
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ rm -rf $RPM_SOURCE_DIR/%{_base}-v%{version}

%build
%if "%{_dist_ver}" == ".el5"
export PYTHON=python27
export PYTHON=python2.7
%endif
%define _node_arch %{nil}
%ifarch x86_64
Expand Down

0 comments on commit 6334685

Please sign in to comment.