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.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2018-03-12 15:24:13 +01:00
parent 99db7904f2
commit f443f2b5e5
3 changed files with 15 additions and 6 deletions

2
.gitignore vendored
View File

@ -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

View File

@ -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 <zbyszek@in.waw.pl> - 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 <releng@fedoraproject.org> - 1:2.6.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (dateutil-2.6.1.tar.gz) = 7314dd42bd5c270eaa673e072e39d306653c3cfccb40cadfe7f057e057eaa73003f6c2582c2f08c42a36c46e7bf9199052e9f92840f2f07a3e4277988a84317b
SHA512 (python-dateutil-2.7.0.tar.gz) = dc6894fda551cc5ae52e12fd49605bc2a31e6293cfa09f9d6e46fd8963ae98215521c97d74fc10c1453d1aca2aa18cd116e4af9ad5ab1f44de7b608754d8b52d