Skip to content

Commit 8c507bd

Browse files
authored
Merge pull request swiftlang#45 from apple/fix-centos7-and-amazonlinux2-python
Don't symlink python3 into python on CentOS 7 and Amazon Linux 2
2 parents cf610aa + 742c12c commit 8c507bd

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)