diff --git a/python-isodate.spec b/python-isodate.spec index fe34517..6df575a 100644 --- a/python-isodate.spec +++ b/python-isodate.spec @@ -1,7 +1,7 @@ # # spec file for package python-isodate # -# 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-isodate.changes b/python3-isodate.changes index 056f658..7f13be1 100644 --- a/python3-isodate.changes +++ b/python3-isodate.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 30 12:44:40 UTC 2013 - saschpe@suse.de + +- Use 2to3 to fix build + ------------------------------------------------------------------- Sun Jan 13 15:14:42 UTC 2013 - p.drouand@gmail.com diff --git a/python3-isodate.spec b/python3-isodate.spec index d56bed2..564c738 100644 --- a/python3-isodate.spec +++ b/python3-isodate.spec @@ -26,6 +26,7 @@ Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/i/isodate/isodate-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python3 +BuildRequires: python3-2to3 BuildRequires: python3-devel BuildRequires: python3-distribute BuildArch: noarch @@ -41,6 +42,7 @@ option. %setup -q -n isodate-%{version} %build +2to3 -w -n ./ python3 setup.py build %install