From 7e85e5c4a3c82512c50cdd172a2e7ea62e71b5a8fec66445e66958b4d38ab27c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 13 Jan 2020 12:03:45 +0000 Subject: [PATCH] Accepting request 763922 from home:ChHuang Update to version 0.2.1 OBS-URL: https://build.opensuse.org/request/show/763922 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-osc-tiny?expand=0&rev=6 --- osc-tiny-0.1.11.tar.gz | 3 --- osc-tiny-0.2.1.tar.gz | 3 +++ python-osc-tiny.changes | 9 +++++++++ python-osc-tiny.spec | 19 ++++++++++++++----- 4 files changed, 26 insertions(+), 8 deletions(-) delete mode 100644 osc-tiny-0.1.11.tar.gz create mode 100644 osc-tiny-0.2.1.tar.gz diff --git a/osc-tiny-0.1.11.tar.gz b/osc-tiny-0.1.11.tar.gz deleted file mode 100644 index 71765ce..0000000 --- a/osc-tiny-0.1.11.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:df35d40e99dd4eb1e4729932498241de838fdc409309221ca39e8c079ddc5427 -size 32285 diff --git a/osc-tiny-0.2.1.tar.gz b/osc-tiny-0.2.1.tar.gz new file mode 100644 index 0000000..f66ff53 --- /dev/null +++ b/osc-tiny-0.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2a1c98b832cbe5c05437e6a79a0fd90a52738462827e3d628c175234265fbec9 +size 33415 diff --git a/python-osc-tiny.changes b/python-osc-tiny.changes index bf2a60f..8572b18 100644 --- a/python-osc-tiny.changes +++ b/python-osc-tiny.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Jan 9 12:46:29 UTC 2020 - Chen Huang + +- Updated to version 0.2.1 +- Allow invalid timestamps during changelog parsing +- Removed dependency of the future package +- Backport for Python2 compatibility +- Bugfixes for :py:mod:`osctiny.utils.changelog` + ------------------------------------------------------------------- Mon Dec 30 15:53:34 UTC 2019 - Andreas Hasenkopf diff --git a/python-osc-tiny.spec b/python-osc-tiny.spec index 03b34a0..5c389d0 100644 --- a/python-osc-tiny.spec +++ b/python-osc-tiny.spec @@ -1,7 +1,7 @@ # # spec file for package python-osc-tiny # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 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,28 +17,37 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 Name: python-osc-tiny -Version: 0.1.11 +Version: 0.2.1 Release: 0 Summary: Client API for openSUSE BuildService License: MIT Group: Development/Languages/Python URL: https://github.com/crazyscientist/osc-tiny Source: https://files.pythonhosted.org/packages/source/o/osc-tiny/osc-tiny-%{version}.tar.gz -BuildRequires: %{python_module dateutil} BuildRequires: %{python_module devel} BuildRequires: %{python_module lxml} +BuildRequires: %{python_module python-dateutil} BuildRequires: %{python_module pytz} BuildRequires: %{python_module requests} BuildRequires: %{python_module responses} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module six} +%ifpython2 +BuildRequires: python-mock +BuildRequires: python-unittest2 +%endif BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-dateutil Requires: python-lxml +Requires: python-python-dateutil Requires: python-pytz Requires: python-requests +Requires: python-six +%ifpython2 +Requires: python-mock +Requires: python-unittest2 +%endif BuildArch: noarch %python_subpackages