diff --git a/python-requests-hawk.changes b/python-requests-hawk.changes index 826f631..67e4f81 100644 --- a/python-requests-hawk.changes +++ b/python-requests-hawk.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Mar 18 08:29:29 UTC 2020 - Tomáš Chvátal + +- Update to 1.0.1: + - Add Python 3 support. (#22) +- Enable tests + ------------------------------------------------------------------- Tue Dec 4 12:53:45 UTC 2018 - Matej Cepl diff --git a/python-requests-hawk.spec b/python-requests-hawk.spec index 7dcae91..2b09bb5 100644 --- a/python-requests-hawk.spec +++ b/python-requests-hawk.spec @@ -1,7 +1,7 @@ # # spec file for package python-requests-hawk # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # Copyright (c) 2017 The openSUSE Project. # # All modifications and additions to the file contributed by third parties @@ -18,25 +18,21 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_with test Name: python-requests-hawk -Version: 1.0.0 +Version: 1.0.1 Release: 0 Summary: Hawk authentication strategy for the requests python library License: Apache-2.0 -Group: Development/Languages/Python URL: https://github.com/mozilla-services/requests-hawk Source: https://files.pythonhosted.org/packages/source/r/requests-hawk/requests-hawk-%{version}.tar.gz +BuildRequires: %{python_module mohawk} +BuildRequires: %{python_module requests} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-mohawk Requires: python-requests BuildArch: noarch -%if %{with test} -BuildRequires: %{python_module mohawk} -BuildRequires: %{python_module requests} -%endif %python_subpackages %description @@ -57,10 +53,8 @@ across mozilla services projects. %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with test} %check %python_exec setup.py test -%endif %files %{python_files} %license LICENSE.txt diff --git a/requests-hawk-1.0.0.tar.gz b/requests-hawk-1.0.0.tar.gz deleted file mode 100644 index 5f3997f..0000000 --- a/requests-hawk-1.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aef0dff8053dcae2057774516386bed0a3bc03fabea9e18f3aa98f02672ea5d0 -size 6285 diff --git a/requests-hawk-1.0.1.tar.gz b/requests-hawk-1.0.1.tar.gz new file mode 100644 index 0000000..ccbba73 --- /dev/null +++ b/requests-hawk-1.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:349ff5939fc80747f5fdedd249d5038f156a5404533ac3eaa4d8649f90508fe1 +size 6291