update version to 4.8.0

This commit is contained in:
wubijie 2023-05-05 10:01:25 +08:00
parent 043faaf6fa
commit d3f9c3a32a
3 changed files with 12 additions and 7 deletions

Binary file not shown.

BIN
Flask-HTTPAuth-4.8.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,23 +1,22 @@
%global _empty_manifest_terminate_build 0
Name: python-Flask-HTTPAuth
Version: 4.7.0
Version: 4.8.0
Release: 1
Summary: Basic and Digest HTTP authentication for Flask routes
License: MIT
URL: https://github.com/miguelgrinberg/flask-httpauth/
Source0: https://files.pythonhosted.org/packages/de/28/1681359136718332e97e763c0eec2e9da03e801f9349216f2cf1fb0a6ab4/Flask-HTTPAuth-4.7.0.tar.gz
Source0: https://files.pythonhosted.org/packages/22/21/0160aa217c4df74e44a04919213f9c8af7e68551c10267b055f1e09d421c/Flask-HTTPAuth-4.8.0.tar.gz
BuildArch: noarch
Requires: python3-Flas
%description
Basic and Digest HTTP authentication for Flask routes.
%package -n python3-Flask-HTTPAuth
Summary: Basic and Digest HTTP authentication for Flask routes
Provides: python-Flask-HTTPAuth
Provides: python-Flask-HTTPAuth = %{version}-%{release}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
Requires: python3-flask
%description -n python3-Flask-HTTPAuth
Basic and Digest HTTP authentication for Flask routes.
@ -28,7 +27,7 @@ Provides: python3-Flask-HTTPAuth-doc
Development documents and examples for Flask-HTTPAuth
%prep
%autosetup -n Flask-HTTPAuth-4.7.0
%autosetup -n Flask-HTTPAuth-%{version}
%build
%py3_build
@ -40,6 +39,9 @@ if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi
if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi
if [ -f README.txt ]; then cp -af README.txt %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot}
if [ -d usr/lib ]; then
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
@ -65,9 +67,12 @@ mv %{buildroot}/doclist.lst .
%dir %{python3_sitelib}/*
%files help -f doclist.lst
%{_pkgdocdir}
%{_docdir}/*
%changelog
* Fri May 05 2023 wubijie <wubijie@kylinos.cn> - 4.8.0-1
- Update package to version 4.8.0
* Thu Jun 23 2022 SimpleUpdate Robot <tc@openeuler.org> - 4.7.0-1
- Upgrade to version 4.7.0