#127 Use py3_shebang_fix macro
Merged 2 years ago by sergesanspaille. Opened 2 years ago by tbaeder.
rpms/ tbaeder/clang shebang-fix-macro  into  rawhide

file modified
+5 -5
@@ -125,7 +125,7 @@ 

  BuildRequires:	python3-sphinx

  BuildRequires:	libatomic

  

- # We need python3-devel for pathfix.py.

+ # We need python3-devel for %%py3_shebang_fix

  BuildRequires:	python3-devel

  

  # For reproducible pyc file generation
@@ -270,8 +270,8 @@ 

  # failing test case

  rm test/clang-tidy/checkers/altera-struct-pack-align.cpp

  

- pathfix.py -i %{__python3} -pn \

- 	clang-tidy/tool/*.py \

+ %py3_shebang_fix \

+ 	clang-tidy/tool/ \

  	clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py

  

  %setup -q -n %{clang_srcdir}
@@ -280,8 +280,8 @@ 

  # failing test case

  rm test/CodeGen/profile-filter.c

  

- pathfix.py -i %{__python3} -pn \

- 	tools/clang-format/*.py \

+ %py3_shebang_fix \

+ 	tools/clang-format/ \

  	tools/clang-format/git-clang-format \

  	utils/hmaptool/hmaptool \

  	tools/scan-view/bin/scan-view \

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci

Want to click on Merge?

Pull-Request has been merged by sergesanspaille

2 years ago
Metadata