python-urllib3/python-urllib3.spec

72 lines
2.2 KiB
RPMSpec
Raw Normal View History

Name: python-urllib3
Version: 1.24.1
Release: 2mamba
Summary: HTTP library with thread-safe connection pooling, file post, and more
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://pypi.python.org/pypi/urllib3
Source: http://pypi.debian.net/urllib3/urllib3-%{version}.tar.gz
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel
## AUTOBUILDREQ-END
Requires: python >= %python_version
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
%{summary}.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q -n urllib3-%{version}
%build
CFLAGS="%{optflags}" %{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{python_inc} \
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%changelog
* Fri Mar 15 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.24.1-2mamba
- rebuilt with -py36 package
* Sat Nov 10 2018 Automatic Build System <autodist@mambasoft.it> 1.24.1-1mamba
- automatic version update by autodist
* Tue Oct 23 2018 Automatic Build System <autodist@mambasoft.it> 1.24-1mamba
- automatic version update by autodist
* Tue Jun 05 2018 Automatic Build System <autodist@mambasoft.it> 1.23-1mamba
- automatic version update by autodist
* Wed Aug 09 2017 Automatic Build System <autodist@mambasoft.it> 1.22-1mamba
- automatic version update by autodist
* Wed Jan 25 2017 Automatic Build System <autodist@mambasoft.it> 1.20-1mamba
- automatic version update by autodist
* Thu Nov 17 2016 Automatic Build System <autodist@mambasoft.it> 1.19.1-1mamba
- automatic version update by autodist
* Fri Nov 04 2016 Automatic Build System <autodist@mambasoft.it> 1.19-1mamba
- automatic version update by autodist
* Fri Oct 28 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.18.1-1mamba
- package created using the webbuild interface