Skip to content

Commit 742c12c

Browse files
committed
Don't symlink python3 into python on CentOS 7 and Amazon Linux 2
1 parent cf610aa commit 742c12c

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

platforms/Linux/amazonlinux/2/swift-lang.spec

-3
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,6 @@ mv Yams-%{yams_version} yams
126126
# Adjust python version hwasan_symbolize
127127
%patch1 -p1
128128

129-
# Fix python to python3
130-
ln -s /usr/bin/python3 /usr/bin/python
131-
132129
%build
133130
export VERBOSE=1
134131

platforms/Linux/centos/7/swift-lang.spec

-3
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,6 @@ mv Yams-%{yams_version} yams
127127
# Adjust python version hwasan_symbolize
128128
%patch1 -p1
129129

130-
# Fix python to python3
131-
ln -s /usr/bin/python3 /usr/bin/python
132-
133130
%build
134131
export VERBOSE=1
135132

0 commit comments

Comments
 (0)