Accepting request 578220 from home:apersaud:branches:devel:languages:python

hope this fixes the %ifpython2 using bcond without

OBS-URL: https://build.opensuse.org/request/show/578220
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-arrow?expand=0&rev=5
This commit is contained in:
Tomáš Chvátal 2018-02-20 08:22:11 +00:00 committed by Git OBS Bridge
parent f05c0a589f
commit 9d256e439f
4 changed files with 33 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:805906f09445afc1f0fc80187db8fe07670e3b25cdafa09b8d8ac264a8c0c722
size 86506

3
arrow-0.12.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a558d3b7b6ce7ffc74206a86c147052de23d3d4ef0e17c210dd478c53575c4cd
size 65356

View File

@ -1,3 +1,27 @@
-------------------------------------------------------------------
Sat Feb 17 18:29:14 UTC 2018 - arun@gmx.de
- specfile:
* update copyright year
* require python-backports.functools_lru_cache for python2
- update to version 0.12.1:
* Allow wheels to determine the required dependencies
* Makes the only_distance paramter value equivalent to value given
to function when granularity paramter is also provided by user
- changes from version 0.12.0:
* [FIX] Compatibility fix for Python 2.x
- changes from version 0.11.0:
* [FIX] Fix grammar of ArabicLocale
* [NEW] Add Nepali Locale
* [FIX] Fix month name + rename AustriaLocale -> AustrianLocale
* [FIX] Fix typo in Basque Locale
* [FIX] Fix grammar in PortugueseBrazilian locale
* [FIX] Remove pip --user-mirrors flag
* [NEW] Add Indonesian Locale
-------------------------------------------------------------------
Sat Jul 15 18:33:22 UTC 2017 - aloisio@gmx.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-arrow
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,8 +17,9 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
Name: python-arrow
Version: 0.10.0
Version: 0.12.1
Release: 0
Summary: Better dates and times for Python
License: Apache-2.0
@ -32,6 +33,9 @@ BuildRequires: %{python_module python-dateutil}
BuildRequires: %{python_module simplejson}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%if %{with python2}
BuildRequires: python-backports.functools_lru_cache
%endif
Requires: python-python-dateutil
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch