81 lines
2.5 KiB
RPMSpec
81 lines
2.5 KiB
RPMSpec
Name: python-urllib3
|
|
Version: 1.25.3
|
|
Release: 1mamba
|
|
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
|
|
* Tue May 28 2019 Automatic Build System <autodist@mambasoft.it> 1.25.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri May 10 2019 Automatic Build System <autodist@mambasoft.it> 1.25.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Apr 23 2019 Automatic Build System <autodist@mambasoft.it> 1.24.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* 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
|