!254 remove old python library

From: @zhuofeng6 
Reviewed-by: @gaoruoshu 
Signed-off-by: @gaoruoshu
This commit is contained in:
openeuler-ci-bot 2023-09-05 10:58:17 +00:00 committed by Gitee
commit 1e465e9968
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -3,7 +3,7 @@ Summary: Interpreter of the Python3 programming language
URL: https://www.python.org/ URL: https://www.python.org/
Version: 3.11.4 Version: 3.11.4
Release: 1 Release: 2
License: Python-2.0 License: Python-2.0
%global branchversion 3.11 %global branchversion 3.11
@ -92,7 +92,6 @@ Patch9000: add-the-sm3-method-for-obtaining-the-salt-value.patch
Provides: python%{branchversion} = %{version}-%{release} Provides: python%{branchversion} = %{version}-%{release}
Provides: python(abi) = %{branchversion} Provides: python(abi) = %{branchversion}
Provides: python(abi) = 3.10
Provides: python%{pyshortver} = %{version}-%{release} Provides: python%{pyshortver} = %{version}-%{release}
Obsoletes: python%{pyshortver} Obsoletes: python%{pyshortver}
@ -393,8 +392,6 @@ ln -s %{_bindir}/python3 %{buildroot}%{_bindir}/python
mv %{buildroot}%{_bindir}/2to3-%{branchversion} %{buildroot}%{_bindir}/2to3 mv %{buildroot}%{_bindir}/2to3-%{branchversion} %{buildroot}%{_bindir}/2to3
cp -a %{_libdir}/libpython3.10.so.1.0 ${RPM_BUILD_ROOT}%{_libdir}
%check %check
topdir=$(pwd) topdir=$(pwd)
@ -672,7 +669,6 @@ export BEP_GTDLIST="$BEP_GTDLIST_TMP"
%{_libdir}/%{py_INSTSONAME_optimized} %{_libdir}/%{py_INSTSONAME_optimized}
%{_libdir}/libpython3.so %{_libdir}/libpython3.so
%{_libdir}/libpython3.10.so.1.0
%files -n python3-unversioned-command %files -n python3-unversioned-command
%{_bindir}/python %{_bindir}/python
@ -845,6 +841,12 @@ export BEP_GTDLIST="$BEP_GTDLIST_TMP"
%{_mandir}/*/* %{_mandir}/*/*
%changelog %changelog
* Thu Jul 20 2023 zhuofeng<zhuofeng2@huawei.com> - 3.11.4-2
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:remove old python library
* Fri Jun 30 2023 zhuofeng<zhuofeng2@huawei.com> - 3.11.4-1 * Fri Jun 30 2023 zhuofeng<zhuofeng2@huawei.com> - 3.11.4-1
- Type:enhancement - Type:enhancement
- CVE:NA - CVE:NA