!6 Remove the default version of python2
Merge pull request !6 from chengquan/devlope
This commit is contained in:
commit
0a1291113d
11
python2.spec
11
python2.spec
@ -15,7 +15,7 @@
|
|||||||
%undefine _debuginfo_subpackages
|
%undefine _debuginfo_subpackages
|
||||||
Name: python2
|
Name: python2
|
||||||
Version: 2.7.16
|
Version: 2.7.16
|
||||||
Release: 10
|
Release: 11
|
||||||
Summary: Python is an interpreted, interactive object-oriented programming language suitable
|
Summary: Python is an interpreted, interactive object-oriented programming language suitable
|
||||||
License: Python
|
License: Python
|
||||||
URL: https://www.python.org/
|
URL: https://www.python.org/
|
||||||
@ -108,7 +108,6 @@ Requires: expat glibc gdbm python-setuptools-wheel python-pip-wheel
|
|||||||
|
|
||||||
Recommends: python2-setuptools python2-pip
|
Recommends: python2-setuptools python2-pip
|
||||||
|
|
||||||
Provides: python = %{version}-%{release}
|
|
||||||
Provides: python27 = %{version}-%{release}
|
Provides: python27 = %{version}-%{release}
|
||||||
Provides: python(abi) = %{pybasever}
|
Provides: python(abi) = %{pybasever}
|
||||||
|
|
||||||
@ -401,7 +400,7 @@ sed -e "s|LIBRARY_PATH|%{_libdir}/%{py_INSTSONAME_debug}|" %{SOURCE1} \
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README
|
%doc README
|
||||||
%{_bindir}/pydoc*
|
%{_bindir}/pydoc*
|
||||||
%{_bindir}/{python,python2,python%{pybasever}}
|
%{_bindir}/{python2,python%{pybasever}}
|
||||||
|
|
||||||
%dir %{_prefix}/lib/python%{pybasever}
|
%dir %{_prefix}/lib/python%{pybasever}
|
||||||
%dir %{_prefix}/lib/python%{pybasever}/site-packages
|
%dir %{_prefix}/lib/python%{pybasever}/site-packages
|
||||||
@ -633,6 +632,12 @@ sed -e "s|LIBRARY_PATH|%{_libdir}/%{py_INSTSONAME_debug}|" %{SOURCE1} \
|
|||||||
%{dynload_dir}/_testcapimodule_d.so
|
%{dynload_dir}/_testcapimodule_d.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Feb 22 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.7.16-11
|
||||||
|
- Type:bugfix
|
||||||
|
- Id:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:Remove the default version of python2
|
||||||
|
|
||||||
* Mon Feb 3 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.7.16-10
|
* Mon Feb 3 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.7.16-10
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- Id:NA
|
- Id:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user