added python3 subpackage [release 6.1.1-2mamba;Sun May 17 2015]

This commit is contained in:
Silvan Calarco 2024-01-05 16:17:57 +01:00
parent 4661bb9a95
commit 100d9bc2d8

View File

@ -1,11 +1,11 @@
Name: python-pip
Version: 6.1.1
Release: 1mamba
Release: 2mamba
Summary: A tool for installing and managing Python packages
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: openmamba WebBuild System <webbuild@openmamba.org>
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.pip-installer.org/
Source: http://pypi.python.org/packages/source/p/pip/pip-%{version}.tar.gz
License: MIT
@ -21,6 +21,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
pip is a tool for installing and managing Python packages, such as those found in the Python Package Index. Its a replacement for easy_install.
%if "%{?with_pyver}"
%pyver_package
%endif
%prep
%setup -q -n pip-%{version}
@ -39,16 +43,18 @@ CFLAGS="%{optflags}" %{__python} setup.py build
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files -f %{name}.filelist
%defattr(-,root,root)
## note: this list is just an example; modify as required
# %{python_sitearch}/%{name}.py*
# %{python_sitearch}/%{name}.so
%if "%{?pyappend}"
rm -f %{buildroot}%{_bindir}/pip
sed -i "\,%{_bindir}/pip$,d" %{name}.filelist
%endif
## note: eventually add the remaining documents (if any)
#
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%changelog
* Sun May 17 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 6.1.1-2mamba
- added python3 subpackage
* Tue Apr 07 2015 Automatic Build System <autodist@mambasoft.it> 6.1.1-1mamba
- automatic version update by autodist