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
808bb4ac8a
commit
54f46fa695
@ -78,12 +78,12 @@ Requires: tzdata
|
|||||||
%if %{with python2}
|
%if %{with python2}
|
||||||
%py2_install
|
%py2_install
|
||||||
rm -r %{buildroot}%{python2_sitelib}/pytz/zoneinfo
|
rm -r %{buildroot}%{python2_sitelib}/pytz/zoneinfo
|
||||||
pathfix.py -pn -i %{__python2} %{buildroot}%{python2_sitelib}
|
%{__python3} %{_rpmconfigdir}/redhat/pathfix.py -pn -i %{__python2} %{buildroot}%{python2_sitelib}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%py3_install
|
%py3_install
|
||||||
rm -r %{buildroot}%{python3_sitelib}/pytz/zoneinfo
|
rm -r %{buildroot}%{python3_sitelib}/pytz/zoneinfo
|
||||||
pathfix.py -pn -i %{__python3} %{buildroot}%{python3_sitelib}
|
%{__python3} %{_rpmconfigdir}/redhat/pathfix.py -pn -i %{__python3} %{buildroot}%{python3_sitelib}
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
Loading…
Reference in New Issue
Block a user