14
0
forked from pool/python-pytz

Accepting request 148492 from home:posophe:branches:devel:languages:python

Update and python3 support

OBS-URL: https://build.opensuse.org/request/show/148492
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pytz?expand=0&rev=3
This commit is contained in:
Sascha Peilicke
2013-01-15 14:14:40 +00:00
committed by Git OBS Bridge
parent 6b478199cb
commit f4b8f61b18
6 changed files with 88 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytz
#
# 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
@@ -16,7 +16,7 @@
#
Name: python-pytz
Version: 2012b
Version: 2012j
Release: 0
Url: http://pytz.sourceforge.net
Summary: World timezone definitions, modern and historical
@@ -45,6 +45,8 @@ Amost all of the Olson timezones are supported.
%prep
%setup -q -n pytz-%{version}
# For rpmlint warning: remove shebang from python library:
sed -i '/^#!/d' ./pytz/tzfile.py
%build
python setup.py build