From f443f2b5e5f8fef6b0ffbccbbeae274ef505b243 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Mon, 12 Mar 2018 15:24:13 +0100 Subject: [PATCH] Update to 2.7.0 I built matplotlib and pandas in mock after installing this package, so it seems mostly backwards compatible. NEWS file talks about some renames and removals, so I'm pushing this to rawhide only for now. --- .gitignore | 2 ++ python-dateutil.spec | 17 ++++++++++++----- sources | 2 +- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 4d23bb0..6290305 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,5 @@ /dateutil-2.5.3.tar.gz /dateutil-2.6.0.tar.gz /dateutil-2.6.1.tar.gz +/dateutil-2.7.0.tar.gz +/python-dateutil-2.7.0.tar.gz diff --git a/python-dateutil.spec b/python-dateutil.spec index 36b1d4e..d3a5323 100644 --- a/python-dateutil.spec +++ b/python-dateutil.spec @@ -1,17 +1,17 @@ %global modname dateutil Name: python-%{modname} -Version: 2.6.1 -Release: 3%{?dist} +Version: 2.7.0 +Release: 1%{?dist} Epoch: 1 Summary: Powerful extensions to the standard datetime module License: BSD URL: https://github.com/dateutil/dateutil -Source0: https://github.com/dateutil/dateutil/archive/%{version}/%{modname}-%{version}.tar.gz +Source0: https://pypi.python.org/packages/e5/1d/64a3b1c30842ecf0518af93ed123e5064559e588aebdcae0a59831dee642/python-dateutil-2.7.0.tar.gz BuildArch: noarch -BuildRequires: python2-sphinx +BuildRequires: python3-sphinx %global _description \ The dateutil module provides powerful extensions to the standard datetime\ @@ -24,6 +24,7 @@ Summary: %summary BuildRequires: python2-devel BuildRequires: python2-six BuildRequires: python2-setuptools +BuildRequires: python2-setuptools_scm Requires: tzdata Requires: python2-six %{?python_provide:%python_provide python2-%{modname}} @@ -35,6 +36,7 @@ Summary: %summary BuildRequires: python3-devel BuildRequires: python3-six BuildRequires: python3-setuptools +BuildRequires: python3-setuptools_scm Requires: tzdata Requires: python3-six %{?python_provide:%python_provide python3-%{modname}} @@ -47,7 +49,7 @@ Summary: API documentation for python-dateutil This package contains %{summary}. %prep -%autosetup -p0 -n %{modname}-%{version} +%autosetup iconv --from=ISO-8859-1 --to=UTF-8 NEWS > NEWS.new mv NEWS.new NEWS @@ -81,6 +83,11 @@ make -C docs html %doc docs/_build/html %changelog +* Mon Mar 12 2018 Zbigniew Jędrzejewski-Szmek - 1:2.7.0-1 +- Fix license tag (should be BSD) +- Update to latest version (#1469314) + See https://github.com/dateutil/dateutil/blob/master/NEWS for details. + * Fri Feb 09 2018 Fedora Release Engineering - 1:2.6.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index c094bd3..64bb5a9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dateutil-2.6.1.tar.gz) = 7314dd42bd5c270eaa673e072e39d306653c3cfccb40cadfe7f057e057eaa73003f6c2582c2f08c42a36c46e7bf9199052e9f92840f2f07a3e4277988a84317b +SHA512 (python-dateutil-2.7.0.tar.gz) = dc6894fda551cc5ae52e12fd49605bc2a31e6293cfa09f9d6e46fd8963ae98215521c97d74fc10c1453d1aca2aa18cd116e4af9ad5ab1f44de7b608754d8b52d