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