Package init
This commit is contained in:
parent
daeabfff97
commit
63c65e0ea6
@ -7,7 +7,7 @@ pip is the package installer for Python. You can use pip to install packages fro
|
|||||||
%global bashcompdir %(b=$(pkg-config --variable=completionsdir bash-completion 2>/dev/null); echo ${b:-%{_sysconfdir}/bash_completion.d})
|
%global bashcompdir %(b=$(pkg-config --variable=completionsdir bash-completion 2>/dev/null); echo ${b:-%{_sysconfdir}/bash_completion.d})
|
||||||
Name: python-%{srcname}
|
Name: python-%{srcname}
|
||||||
Version: 18.0
|
Version: 18.0
|
||||||
Release: 9
|
Release: 11
|
||||||
Summary: A tool for installing and managing Python packages
|
Summary: A tool for installing and managing Python packages
|
||||||
License: MIT and Python and ASL 2.0 and BSD and ISC and LGPLv2 and MPLv2.0 and (ASL 2.0 or BSD)
|
License: MIT and Python and ASL 2.0 and BSD and ISC and LGPLv2 and MPLv2.0 and (ASL 2.0 or BSD)
|
||||||
URL: http://www.pip-installer.org
|
URL: http://www.pip-installer.org
|
||||||
@ -45,6 +45,13 @@ Obsoletes: %{name}-wheel < %{version}-%{release}
|
|||||||
|
|
||||||
%package_help
|
%package_help
|
||||||
|
|
||||||
|
%package wheel
|
||||||
|
Summary: The pip wheel
|
||||||
|
Requires: ca-certificates
|
||||||
|
|
||||||
|
%description wheel
|
||||||
|
A Python wheel of pip to use with venv
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{srcname}-%{version} -p1
|
%autosetup -n %{srcname}-%{version} -p1
|
||||||
|
|
||||||
@ -121,8 +128,6 @@ install -p dist/%{python_wheelname} -t %{buildroot}%{python_wheeldir}
|
|||||||
%{bashcompdir}/pip
|
%{bashcompdir}/pip
|
||||||
%{bashcompdir}/pip2*
|
%{bashcompdir}/pip2*
|
||||||
%dir %(dirname %{bashcompdir})
|
%dir %(dirname %{bashcompdir})
|
||||||
%dir %{python_wheeldir}/
|
|
||||||
%{python_wheeldir}/%{python_wheelname}
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files -n python%{python3_pkgversion}-%{srcname}
|
%files -n python%{python3_pkgversion}-%{srcname}
|
||||||
@ -133,13 +138,25 @@ install -p dist/%{python_wheelname} -t %{buildroot}%{python_wheeldir}
|
|||||||
%dir %{bashcompdir}
|
%dir %{bashcompdir}
|
||||||
%{bashcompdir}/pip3*
|
%{bashcompdir}/pip3*
|
||||||
%dir %(dirname %{bashcompdir})
|
%dir %(dirname %{bashcompdir})
|
||||||
%dir %{python_wheeldir}/
|
|
||||||
%{python_wheeldir}/%{python_wheelname}
|
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
|
|
||||||
|
%files wheel
|
||||||
|
%license LICENSE.txt
|
||||||
|
%dir %{python_wheeldir}/
|
||||||
|
%{python_wheeldir}/%{python_wheelname}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Nov 16 2019 huzhiyu <huzhiyu1@huawei.com> - 18.0-11
|
||||||
|
- fix ca-certificate bad requires
|
||||||
|
|
||||||
|
* Fri Oct 15 2019 lvying<lvying6@huawei.com> - 18.0-10
|
||||||
|
- Type:enhancement
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC: split same wheel file from python2-pip and python3-pip
|
||||||
|
|
||||||
* Sun Sep 29 2019 yefei <yefei25@huawei.com> - 18.0-9
|
* Sun Sep 29 2019 yefei <yefei25@huawei.com> - 18.0-9
|
||||||
- Type:enhancement
|
- Type:enhancement
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user