Accepting request 162325 from home:apersaud:branches:devel:languages:python

fixed build for 12.2. error from hashlib import

OBS-URL: https://build.opensuse.org/request/show/162325
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-http-parser?expand=0&rev=18
This commit is contained in:
Todd R 2013-04-04 11:00:33 +00:00 committed by Git OBS Bridge
parent f810697242
commit 5a42c4672c
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Apr 3 06:03:38 UTC 2013 - arun@gmx.de
- fix build for opensuse 12.2 and lower. Need to include python3
otherwise haslib will complain
-------------------------------------------------------------------
Tue Feb 26 14:05:37 UTC 2013 - p.drouand@gmail.com

View File

@ -1,5 +1,5 @@
#
# spec file for package python-http-parser
# spec file for package python3-http-parser
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -25,11 +25,10 @@ License: MIT
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/h/http-parser/http-parser-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python3
BuildRequires: python3-devel
Requires: python3
BuildRequires: python3-distribute
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python3_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%endif
%description
HTTP request/response parser for Python in C under MIT License, based on