Change location of pathfix.py
For more info see https://fedoraproject.org/wiki/Changes/Python3.12#pathfix.py_tool_will_be_removed
This commit is contained in:
parent
81868e9dfd
commit
2afedcedb0
@ -583,10 +583,10 @@ pushd %{name}-%{version}
|
||||
|
||||
%patch7 -p1 -b .backup
|
||||
|
||||
find . -name 'setup.py' | xargs pathfix.py -pn -i "%{__python3}"
|
||||
find . -name 'configure' | xargs pathfix.py -pn -i "%{__python3}"
|
||||
find config -name '*.py' | xargs pathfix.py -pn -i "%{__python3}"
|
||||
find src/benchmarks/streams -name '*.py' | xargs pathfix.py -pn -i "%{__python3}"
|
||||
find . -name 'setup.py' | xargs %{__python3} %{_rpmconfigdir}/redhat/pathfix.py -pn -i "%{__python3}"
|
||||
find . -name 'configure' | xargs %{__python3} %{_rpmconfigdir}/redhat/pathfix.py -pn -i "%{__python3}"
|
||||
find config -name '*.py' | xargs %{__python3} %{_rpmconfigdir}/redhat/pathfix.py -pn -i "%{__python3}"
|
||||
find src/benchmarks/streams -name '*.py' | xargs %{__python3} %{_rpmconfigdir}/redhat/pathfix.py -pn -i "%{__python3}"
|
||||
|
||||
%if 0%{?el7}
|
||||
%patch2 -p1 -b .backup
|
||||
|
Loading…
Reference in New Issue
Block a user