fix bug in installing package

This commit is contained in:
chengquan 2020-02-22 15:53:28 +08:00 committed by Gitee
parent f7752b9f49
commit 5e36e36f1f

View File

@ -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,7 +401,7 @@ sed -e "s|LIBRARY_PATH|%{_libdir}/%{py_INSTSONAME_debug}|" %{SOURCE1} \
%doc README
%{_bindir}/pydoc*
%{_bindir}/{python2,python%{pybasever}}
%exclude %{_bindir}/python
%exclude /usr/bin/python
%dir %{_prefix}/lib/python%{pybasever}
%dir %{_prefix}/lib/python%{pybasever}/site-packages
@ -633,7 +633,7 @@ sed -e "s|LIBRARY_PATH|%{_libdir}/%{py_INSTSONAME_debug}|" %{SOURCE1} \
%{dynload_dir}/_testcapimodule_d.so
%changelog
* Sat Feb 22 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.7.16-11
* Sat Feb 22 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.7.16-12
- Type:bugfix
- Id:NA
- SUG:NA