rebuilt with distdeps and py3 target [release 0.19.1-2mamba;Sun Apr 04 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 11:14:30 +01:00
parent 90ce512a0b
commit 4c8e418fda

View File

@ -1,6 +1,6 @@
Name: python-httplib2
Version: 0.19.0
Release: 1mamba
Version: 0.19.1
Release: 2mamba
Summary: A comprehensive HTTP client library
Group: System/Libraries/Python
Vendor: openmamba
@ -8,21 +8,19 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://bitworking.org/projects/httplib2/
Source: https://pypi.debian.net/httplib2/httplib2-%{version}.tar.gz
#Source: http://httplib2.googlecode.com/files/httplib2-%{version}.tar.gz
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel
BuildRequires: libpython3-devel
## AUTOBUILDREQ-END
Provides: httplib2
Obsoletes: httplib2
Requires: python >= %python_version
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A comprehensive HTTP client library.
%prep
%if "%{?with_pyver}"
%pyver_package
%endif
%prep
%setup -q -n httplib2-%{version}
%build
@ -33,25 +31,26 @@ A comprehensive HTTP client library.
%{__python} setup.py install \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch}
chmod 0644 %{buildroot}%{python_sitearch}/httplib2/cacerts.txt
chmod 0644 %{buildroot}%{python_sitearch}/httplib2/*.py
chmod 0644 %{buildroot}%{python_sitearch}/httplib2/*.pyc
chmod 0644 %{buildroot}%{python_sitearch}/httplib2-%{version}-py%{python_version}.egg-info/*
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%dir %{python_sitearch}/httplib2
%{python_sitearch}/httplib2/cacerts.txt
%{python_sitearch}/httplib2/*.py
%{python_sitearch}/httplib2/*.pyc
%{python_sitearch}/httplib2-%{version}-py%{python_version}.egg-info
%dir %{python_sitearch}/httplib2-%{version}-py*.egg-info
%{python_sitearch}/httplib2-%{version}-py*.egg-info/*
%changelog
* Sun Apr 04 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.19.1-2mamba
- rebuilt with distdeps and py3 target
* Tue Mar 30 2021 Automatic Build System <autodist@mambasoft.it> 0.19.1-1mamba
- automatic version update by autodist
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 0.19.0-1mamba
- automatic version update by autodist