forked from pool/python-httplib2
- Add missing runtime requirement on python-pyOpenSSL to gain
access to 'ssl' module OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httplib2?expand=0&rev=22
This commit is contained in:
parent
89e0334862
commit
0df6b2030f
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 17 08:24:44 UTC 2012 - saschpe@suse.de
|
||||||
|
|
||||||
|
- Add missing runtime requirement on python-pyOpenSSL to gain
|
||||||
|
access to 'ssl' module
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jul 9 08:47:20 UTC 2012 - cfarrell@suse.com
|
Mon Jul 9 08:47:20 UTC 2012 - cfarrell@suse.com
|
||||||
|
|
||||||
|
@ -28,7 +28,9 @@ Source0: httplib2-%{version}.tar.gz
|
|||||||
Patch0: httplib2-use-system-certs.patch
|
Patch0: httplib2-use-system-certs.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
|
#BuildRequires: python-pyOpenSSL
|
||||||
Requires: ca-certificates
|
Requires: ca-certificates
|
||||||
|
Requires: python-pyOpenSSL
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
%else
|
%else
|
||||||
@ -49,6 +51,9 @@ python setup.py build
|
|||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
|
|
||||||
|
#%%check
|
||||||
|
#python python2/httplib2test.py
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc README
|
%doc README
|
||||||
|
Loading…
Reference in New Issue
Block a user