diff options
author | CoprDistGit <infra@openeuler.org> | 2023-07-06 13:16:11 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-07-06 13:16:11 +0000 |
commit | 87d459c88504683b2594ae193bcd7734aa2412ac (patch) | |
tree | a81ecaca03c2fa3737937286a7cdd99864ad4e32 | |
parent | 0538bc565cd2364ac931146dc74197f84b4dc354 (diff) |
automatic import of libsbml
-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 |