commit
2408fa502b
13
python3.spec
13
python3.spec
@ -3,7 +3,7 @@ Summary: Interpreter of the Python3 programming language
|
|||||||
URL: https://www.python.org/
|
URL: https://www.python.org/
|
||||||
|
|
||||||
Version: 3.7.4
|
Version: 3.7.4
|
||||||
Release: 6
|
Release: 7
|
||||||
License: Python
|
License: Python
|
||||||
|
|
||||||
%global branchversion 3.7
|
%global branchversion 3.7
|
||||||
@ -105,7 +105,6 @@ Patch6000: CVE-2019-16056.patch
|
|||||||
Patch6001: CVE-2019-16935.patch
|
Patch6001: CVE-2019-16935.patch
|
||||||
Patch6002: CVE-2019-17514.patch
|
Patch6002: CVE-2019-17514.patch
|
||||||
|
|
||||||
Provides: python = %{version}-%{release}
|
|
||||||
Provides: python%{branchversion} = %{version}-%{release}
|
Provides: python%{branchversion} = %{version}-%{release}
|
||||||
Provides: python(abi) = %{branchversion}
|
Provides: python(abi) = %{branchversion}
|
||||||
|
|
||||||
@ -370,8 +369,6 @@ ln -s \
|
|||||||
%{_bindir}/python%{LDVERSION_debug} \
|
%{_bindir}/python%{LDVERSION_debug} \
|
||||||
%{buildroot}%{_bindir}/python3-debug
|
%{buildroot}%{_bindir}/python3-debug
|
||||||
|
|
||||||
ln -s %{_bindir}/python3 %{buildroot}%{_bindir}/python
|
|
||||||
|
|
||||||
mv %{buildroot}%{_bindir}/2to3-%{branchversion} %{buildroot}%{_bindir}/2to3
|
mv %{buildroot}%{_bindir}/2to3-%{branchversion} %{buildroot}%{_bindir}/2to3
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -414,7 +411,7 @@ export BEP_GTDLIST="$BEP_GTDLIST_TMP"
|
|||||||
%files
|
%files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{_bindir}/python
|
|
||||||
%{_bindir}/pydoc*
|
%{_bindir}/pydoc*
|
||||||
%{_bindir}/python3
|
%{_bindir}/python3
|
||||||
%{_bindir}/pyvenv
|
%{_bindir}/pyvenv
|
||||||
@ -793,6 +790,12 @@ export BEP_GTDLIST="$BEP_GTDLIST_TMP"
|
|||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Feb 22 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.7.4-7
|
||||||
|
- Type:enhancement
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:revert last commit
|
||||||
|
|
||||||
* Sat Feb 22 2020 chengquan<chengquan3@huawei.com> - 3.7.4-6
|
* Sat Feb 22 2020 chengquan<chengquan3@huawei.com> - 3.7.4-6
|
||||||
- Type:enhancement
|
- Type:enhancement
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user