From 4c8e418fdad0091e3d08c11ce58f96eeeb96cf50 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 11:14:30 +0100 Subject: [PATCH] rebuilt with distdeps and py3 target [release 0.19.1-2mamba;Sun Apr 04 2021] --- python-httplib2.spec | 41 ++++++++++++++++++++--------------------- 1 file changed, 20 insertions(+), 21 deletions(-) diff --git a/python-httplib2.spec b/python-httplib2.spec index b1348a3..b502b41 100644 --- a/python-httplib2.spec +++ b/python-httplib2.spec @@ -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 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 0.19.1-2mamba +- rebuilt with distdeps and py3 target + +* Tue Mar 30 2021 Automatic Build System 0.19.1-1mamba +- automatic version update by autodist + * Sun Feb 21 2021 Automatic Build System 0.19.0-1mamba - automatic version update by autodist