diff --git a/iso8601-0.1.10.tar.gz b/iso8601-0.1.10.tar.gz new file mode 100644 index 0000000..d6937c8 --- /dev/null +++ b/iso8601-0.1.10.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e712ff3a18604833f5073e836aad795b21170b19bbef70947c441ed89d0ac0e1 +size 8405 diff --git a/iso8601-0.1.8.tar.gz b/iso8601-0.1.8.tar.gz deleted file mode 100644 index 04e7e78..0000000 --- a/iso8601-0.1.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:13858f8bfa913ccc0a08649598da7fe9d43197e546dd71f0aa7ad57c65196368 -size 7775 diff --git a/python-iso8601.changes b/python-iso8601.changes index c283b4a..4d2eb7c 100644 --- a/python-iso8601.changes +++ b/python-iso8601.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Wed Mar 12 15:16:08 UTC 2014 - speilicke@suse.com + +- Update to version 0.1.10 + + Fixes https://bitbucket.org/micktwomey/pyiso8601/issue/14/regression-yyyy-mm-no-longer-parses + + Adds YYYY as a valid date (uses 1 for both month and day) + + Woo, semantic versioning, .10 at last. +- Changes from version 0.1.9: + + Lots of fixes tightening up parsing from jdanjou. + + Release addresses https://bitbucket.org/micktwomey/pyiso8601/issue/13/new-release-based-on-critical-bug-fix +- Run tests again + ------------------------------------------------------------------- Thu Feb 13 08:15:24 UTC 2014 - rschweikert@suse.com diff --git a/python-iso8601.spec b/python-iso8601.spec index d8186ed..8740853 100644 --- a/python-iso8601.spec +++ b/python-iso8601.spec @@ -16,11 +16,8 @@ # -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} - Name: python-iso8601 -Version: 0.1.8 +Version: 0.1.10 Release: 0 Url: http://code.google.com/p/pyiso8601/ Summary: Simple module to parse ISO 8601 dates @@ -29,14 +26,15 @@ Group: Development/Languages/Python Source: iso8601-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel -BuildRequires: python-pytest BuildRequires: python-setuptools -%if 0%{?suse_version} -%py_requires -%if 0%{?suse_version} > 1110 +# Test requirements: +BuildRequires: python-pytest >= 2.4.2 +%if 0%{?suse_version} && 0%{?suse_version} <= 1110 +Requires: python-argparse +%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%else BuildArch: noarch %endif -%endif %description Simple module to parse ISO 8601 dates @@ -51,7 +49,7 @@ This module parses the most common forms of ISO 8601 date strings (e.g. python setup.py build %check -# py.test iso8601 +py.test --verbose iso8601 %install python setup.py install --prefix=%{_prefix} --root=%{buildroot}