diff --git a/itsdangerous-0.24.tar.gz b/itsdangerous-0.24.tar.gz deleted file mode 100644 index 8f68187..0000000 --- a/itsdangerous-0.24.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cbb3fcf8d3e33df861709ecaf89d9e6629cff0a217bc2848f1b41cd30d360519 -size 46541 diff --git a/itsdangerous-1.1.0.tar.gz b/itsdangerous-1.1.0.tar.gz new file mode 100644 index 0000000..bafcf0f --- /dev/null +++ b/itsdangerous-1.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:321b033d07f2a4136d3ec762eac9f16a10ccd60f53c0c91af90217ace7ba1f19 +size 53219 diff --git a/python-itsdangerous.changes b/python-itsdangerous.changes index 3c4dfaf..6d27119 100644 --- a/python-itsdangerous.changes +++ b/python-itsdangerous.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Tue Jun 11 07:52:22 UTC 2019 - Marketa Calabkova + +- update to version 1.1.0 + * Drop support for Python 2.6 and 3.3. + * Optimize how timestamps are serialized and deserialized. + * base64_decode raises BadData when it is passed invalid data. + * More compact JSON dumps for unicode strings. + * Use the full timestamp rather than an offset, allowing dates + before 2011. To retain compatibility with signers from previous + versions, consider using shim from issue #120. + ------------------------------------------------------------------- Tue Dec 4 12:49:25 UTC 2018 - Matej Cepl diff --git a/python-itsdangerous.spec b/python-itsdangerous.spec index 9ab525c..fa1efb3 100644 --- a/python-itsdangerous.spec +++ b/python-itsdangerous.spec @@ -1,7 +1,7 @@ # # spec file for package python-itsdangerous # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -18,13 +18,15 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-itsdangerous -Version: 0.24 +Version: 1.1.0 Release: 0 Summary: Various helpers to pass trusted data to untrusted environments and back License: BSD-3-Clause Group: Development/Languages/Python URL: http://github.com/mitsuhiko/itsdangerous Source: https://files.pythonhosted.org/packages/source/i/itsdangerous/itsdangerous-%{version}.tar.gz +BuildRequires: %{python_module freezegun} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -54,9 +56,12 @@ Also I plan to add some extra things. Work in progress. %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +%pytest tests + %files %{python_files} -%license LICENSE -%doc CHANGES README +%license LICENSE.rst +%doc CHANGES.rst README.rst %{python_sitelib}/* %changelog