diff --git a/python-isodate.changes b/python-isodate.changes index c8e3a9d..66ac2a6 100644 --- a/python-isodate.changes +++ b/python-isodate.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Wed Apr 17 14:08:25 UTC 2013 - toddrme2178@gmail.com + +- Re-add python-2to3. It is needed for OpenSUSE <= 12.2 + +------------------------------------------------------------------- +Tue Apr 16 19:21:24 UTC 2013 - p.drouand@gmail.com + +- Remove BuildRequires: python-2to3, useless since included in main + python devel package +- Add Requires: python3; fix build for OpenSUSE <= 12.2 + ------------------------------------------------------------------- Sun Jan 13 15:14:28 UTC 2013 - p.drouand@gmail.com 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..dd01584 100644 --- a/python3-isodate.changes +++ b/python3-isodate.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Wed Apr 17 14:08:25 UTC 2013 - toddrme2178@gmail.com + +- Re-add python-2to3. It is needed for OpenSUSE <= 12.2 + +------------------------------------------------------------------- +Tue Apr 16 19:21:24 UTC 2013 - p.drouand@gmail.com + +- Remove BuildRequires: python-2to3, useless since included in main + python devel package +- Add Requires: python3; fix build for OpenSUSE <= 12.2 + +------------------------------------------------------------------- +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..9ad4588 100644 --- a/python3-isodate.spec +++ b/python3-isodate.spec @@ -25,9 +25,12 @@ License: BSD-3-Clause Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/i/isodate/isodate-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build +# this is needed for openSUSE <= 12.2 BuildRequires: python3 +BuildRequires: python3-2to3 BuildRequires: python3-devel BuildRequires: python3-distribute +Requires: python3 BuildArch: noarch %description @@ -41,6 +44,7 @@ option. %setup -q -n isodate-%{version} %build +2to3 -w -n ./ python3 setup.py build %install