From 5a42c4672ceae481d6485fca5e7a5b8eb9fb141d7d688f268bcf905159514140 Mon Sep 17 00:00:00 2001 From: Todd R Date: Thu, 4 Apr 2013 11:00:33 +0000 Subject: [PATCH] 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 --- python3-http-parser.changes | 6 ++++++ python3-http-parser.spec | 7 +++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/python3-http-parser.changes b/python3-http-parser.changes index 56baa66..d3b99a8 100644 --- a/python3-http-parser.changes +++ b/python3-http-parser.changes @@ -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 diff --git a/python3-http-parser.spec b/python3-http-parser.spec index 8bd6443..2bc7f01 100644 --- a/python3-http-parser.spec +++ b/python3-http-parser.spec @@ -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