mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-28 02:34:52 +00:00
Use %py3_shebang_fix instead of calling pathfix.py manually
As documented here: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_shebang_macros
This commit is contained in:
parent
efdfe5532f
commit
9e342d2430
1 changed files with 2 additions and 2 deletions
|
@ -91,7 +91,7 @@ BuildRequires: valgrind-devel
|
|||
%endif
|
||||
# LLVM's LineEditor library will use libedit if it is available.
|
||||
BuildRequires: libedit-devel
|
||||
# We need python3-devel for pathfix.py.
|
||||
# We need python3-devel for %%py3_shebang_fix
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
|
||||
|
@ -184,7 +184,7 @@ LLVM's modified googletest sources.
|
|||
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
||||
%autosetup -n %{llvm_srcdir} -p2
|
||||
|
||||
pathfix.py -i %{__python3} -pn \
|
||||
%py3_shebang_fix \
|
||||
test/BugPoint/compile-custom.ll.py \
|
||||
tools/opt-viewer/*.py \
|
||||
utils/update_cc_test_checks.py
|
||||
|
|
Loading…
Reference in a new issue