diff --git a/python2.spec b/python2.spec index 5816bb8ce3d089d5d41072371c9661f93a890871..8f84a0a04253a6a166114803f9bb3fe13375f471 100644 --- a/python2.spec +++ b/python2.spec @@ -15,7 +15,7 @@ %undefine _debuginfo_subpackages Name: python2 Version: 2.7.16 -Release: 11 +Release: 12 Summary: Python is an interpreted, interactive object-oriented programming language suitable License: Python URL: https://www.python.org/ @@ -401,6 +401,7 @@ sed -e "s|LIBRARY_PATH|%{_libdir}/%{py_INSTSONAME_debug}|" %{SOURCE1} \ %doc README %{_bindir}/pydoc* %{_bindir}/{python2,python%{pybasever}} +%exclude /usr/bin/python %dir %{_prefix}/lib/python%{pybasever} %dir %{_prefix}/lib/python%{pybasever}/site-packages @@ -632,6 +633,12 @@ sed -e "s|LIBRARY_PATH|%{_libdir}/%{py_INSTSONAME_debug}|" %{SOURCE1} \ %{dynload_dir}/_testcapimodule_d.so %changelog +* Sat Feb 22 2020 openEuler Buildteam - 2.7.16-12 +- Type:bugfix +- Id:NA +- SUG:NA +- DESC:fixbug in installing package + * Sat Feb 22 2020 openEuler Buildteam - 2.7.16-11 - Type:bugfix - Id:NA