#146 Don't add -P to Python shebangs
Merged 2 months ago by churchyard. Opened 2 months ago by churchyard.
rpms/ churchyard/llvm optout-safepath  into  rawhide

file modified
+5
@@ -64,6 +64,11 @@ 

  %global llvm_triple %{_host}

  %endif

  

+ # https://fedoraproject.org/wiki/Changes/PythonSafePath#Opting_out

+ # Don't add -P to Python shebangs

+ # The executable Python scripts in /usr/share/opt-viewer/ import each other

+ %undefine _py3_shebang_P

+ 

  Name:		%{pkg_name}

  Version:	%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}}

  Release:	2%{?dist}

Opt-out from https://fedoraproject.org/wiki/Changes/PythonSafePath

The executable Python scripts in /usr/share/opt-viewer/ import each other.

Pull-Request has been merged by churchyard

2 months ago

Considering the mass rebuild, I've merged as a provenpackager. We can later make this better if desired.

Build succeeded.

Metadata