diff --git a/Flask-HTTPAuth-3.3.0.tar.gz b/Flask-HTTPAuth-3.3.0.tar.gz deleted file mode 100644 index 154c4fe..0000000 --- a/Flask-HTTPAuth-3.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6ef8b761332e780f9ff74d5f9056c2616f52babc1998b01d9f361a1e439e61b9 -size 31466 diff --git a/Flask-HTTPAuth-4.0.0.tar.gz b/Flask-HTTPAuth-4.0.0.tar.gz new file mode 100644 index 0000000..da35c2c --- /dev/null +++ b/Flask-HTTPAuth-4.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:47d62edc33ff16798ed28e06a7387ed10a15f21249c5f61515b41351356a6afc +size 226948 diff --git a/python-Flask-HTTPAuth.changes b/python-Flask-HTTPAuth.changes index 0c4862a..b97b751 100644 --- a/python-Flask-HTTPAuth.changes +++ b/python-Flask-HTTPAuth.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Sat May 2 19:51:36 UTC 2020 - Arun Persaud + +- specfile: + * update copyright year + * be more specific in %files section + +- update to version 4.0.0: + * Return user object from verify callbacks (commit) + * New role authorization support (commit) (thanks gemerden!) + * Add a custom token authorization header option (commit) (thanks + Mohamed Feddad!) + * Support an optional=True argument in login_required decorator + (commit) (thanks Saif Almansoori!) + * Pass HTTP status code to error callback (commit) + * More secure example of basic auth in the documentation (commit) + * Fix broken links in CHANGES.md and changelog template #85 (commit) + (thanks Katie Smith!) + ------------------------------------------------------------------- Tue May 28 07:33:27 UTC 2019 - Tomáš Chvátal diff --git a/python-Flask-HTTPAuth.spec b/python-Flask-HTTPAuth.spec index 30c7b7d..2e92858 100644 --- a/python-Flask-HTTPAuth.spec +++ b/python-Flask-HTTPAuth.spec @@ -1,7 +1,7 @@ # # spec file for package python-Flask-HTTPAuth # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # Copyright (c) 2017 Dr. Axel Braun # # All modifications and additions to the file contributed by third parties @@ -18,15 +18,14 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define modname Flask-HTTPAuth -Name: python-%{modname} -Version: 3.3.0 +Name: python-Flask-HTTPAuth +Version: 4.0.0 Release: 0 Summary: Basic and Digest HTTP authentication for Flask routes License: MIT Group: Development/Languages/Python -URL: http://github.com/miguelgrinberg/flask-httpauth/ -Source: https://files.pythonhosted.org/packages/source/F/Flask-HTTPAuth/%{modname}-%{version}.tar.gz +URL: https://github.com/miguelgrinberg/flask-httpauth/ +Source: https://files.pythonhosted.org/packages/source/F/Flask-HTTPAuth/Flask-HTTPAuth-%{version}.tar.gz BuildRequires: %{python_module Flask} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -39,7 +38,7 @@ BuildArch: noarch Simple extension that provides Basic and Digest HTTP authentication for Flask routes. %prep -%setup -q -n %{modname}-%{version} +%setup -q -n Flask-HTTPAuth-%{version} %build @@ -55,6 +54,8 @@ Simple extension that provides Basic and Digest HTTP authentication for Flask ro %files %{python_files} %license LICENSE %doc README.md -%{python_sitelib}/* +%{python_sitelib}/flask_httpauth.py* +%{python_sitelib}/Flask_HTTPAuth-%{version}-py*.egg-info +%pycache_only %{python_sitelib}/__pycache__ %changelog