From 7e551f1ddf4f0bb70b82ac0d74515924dcb0f1abcb2fb90f27806c56cf01de3c Mon Sep 17 00:00:00 2001 From: Todd R Date: Thu, 4 Apr 2013 11:00:36 +0000 Subject: [PATCH] Accepting request 162329 from home:apersaud:branches:devel:languages:python fixed build for python3 and <12.2. error from hashlib import OBS-URL: https://build.opensuse.org/request/show/162329 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distutils-extra?expand=0&rev=28 --- python-distutils-extra.spec | 2 +- python3-distutils-extra.changes | 5 +++++ python3-distutils-extra.spec | 3 +++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/python-distutils-extra.spec b/python-distutils-extra.spec index ec2ec4c..ab9d60e 100644 --- a/python-distutils-extra.spec +++ b/python-distutils-extra.spec @@ -1,7 +1,7 @@ # # spec file for package python-distutils-extra # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/python3-distutils-extra.changes b/python3-distutils-extra.changes index d575fdd..655c99a 100644 --- a/python3-distutils-extra.changes +++ b/python3-distutils-extra.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 3 06:24:58 UTC 2013 - arun@gmx.de + +- fix build error for python3 and <12.2: "ImportError: cannot import name sha512" needs python3 as a requirement + ------------------------------------------------------------------- Fri Feb 22 14:43:08 UTC 2013 - i@marguerite.su diff --git a/python3-distutils-extra.spec b/python3-distutils-extra.spec index 68bd5a2..82a771a 100644 --- a/python3-distutils-extra.spec +++ b/python3-distutils-extra.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %define tarball_name python-distutils-extra Name: python3-distutils-extra @@ -25,7 +26,9 @@ License: GPL-2.0 Group: Development/Libraries/Python Url: https://launchpad.net/python-distutils-extra Source: http://launchpad.net/python-distutils-extra/trunk/%{version}/+download/%{tarball_name}-%{version}.tar.gz +BuildRequires: python3 BuildRequires: python3-devel +Requires: python3 BuildRequires: python3-distribute BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch