Skip to content

Commit

Permalink
we don't want a python2 shebang
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Mar 29, 2023
1 parent a2ef126 commit 732073c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packaging/rpm/python3-Cython.spec
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ if [ "${sha256}" != "e4672491fb31546b9abb63677f638e738085dc9321398170956ef6fbfc0
exit 1
fi
%setup -q -n Cython-%{version}
find -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python2}|'

%build
CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build
Expand Down

0 comments on commit 732073c

Please sign in to comment.