Accepting request 171302 from devel:languages:python

Re-add python-2to3.  It is needed for OpenSUSE <= 12.2 (forwarded request 171301 from TheBlackCat)

OBS-URL: https://build.opensuse.org/request/show/171302
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-isodate?expand=0&rev=6
This commit is contained in:
Stephan Kulow 2013-04-17 21:16:59 +00:00 committed by Git OBS Bridge
commit 3ec4ae8ef7
4 changed files with 34 additions and 1 deletions

View File

@ -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 Sun Jan 13 15:14:28 UTC 2013 - p.drouand@gmail.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-isodate # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed

View File

@ -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 Sun Jan 13 15:14:42 UTC 2013 - p.drouand@gmail.com

View File

@ -25,9 +25,12 @@ License: BSD-3-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/i/isodate/isodate-%{version}.tar.gz Source: http://pypi.python.org/packages/source/i/isodate/isodate-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
# this is needed for openSUSE <= 12.2
BuildRequires: python3 BuildRequires: python3
BuildRequires: python3-2to3
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-distribute BuildRequires: python3-distribute
Requires: python3
BuildArch: noarch BuildArch: noarch
%description %description
@ -41,6 +44,7 @@ option.
%setup -q -n isodate-%{version} %setup -q -n isodate-%{version}
%build %build
2to3 -w -n ./
python3 setup.py build python3 setup.py build
%install %install