diff options
Diffstat (limited to 'libsbml.spec')
-rw-r--r-- | libsbml.spec | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libsbml.spec b/libsbml.spec index dcc9d55..aa36bf3 100644 --- a/libsbml.spec +++ b/libsbml.spec @@ -195,7 +195,9 @@ unzip -n %{SOURCE1} sed -r -i s/DOXYGEN_MAX_VERSION=1.8.11/DOXYGEN_MAX_VERSION=2.0.0/ configure %if %{with python} +%if 0%{?rhel} find . -type f -name '*.py' -exec %{__python3} %{_rpmconfigdir}/redhat/pathfix.py -pn -i "%{__python3}" {} \; +%endif python3 -m lib2to3 -f print -w docs/src/filters/ python3 -m lib2to3 -f next -w docs %endif |