package created using the webbuild interface [release 1.18.1-1mamba;Fri Oct 28 2016]

This commit is contained in:
Silvan Calarco 2024-01-05 16:50:08 +01:00
parent 652942fb77
commit c343efbeec
2 changed files with 49 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# python-urllib3
HTTP library with thread-safe connection pooling, file post, and more.

47
python-urllib3.spec Normal file
View File

@ -0,0 +1,47 @@
Name: python-urllib3
Version: 1.18.1
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
* Fri Oct 28 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.18.1-1mamba
- package created using the webbuild interface