Upgrade to version 0.5.0

This commit is contained in:
desert-sailor 2023-05-25 15:58:27 +08:00
parent ad00c331e6
commit 9ead060749
3 changed files with 17 additions and 20 deletions

Binary file not shown.

BIN
Flask-Session-0.5.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-flask-session
Version: 0.4.1
Version: 0.5.0
Release: 1
Summary: Adds server-side session support to your Flask application
License: BSD-3-Clause
URL: https://github.com/fengsp/flask-session
Source0: https://files.pythonhosted.org/packages/35/3e/9e6489d60f1c59e920dfb5a05aea1fcc0659f6630593089bebbefd6ddd00/Flask-Session-0.4.1.tar.gz
Source0: https://files.pythonhosted.org/packages/19/bf/b8b3e20cf03d3938ef7e94970e43491a49386c65e07aca7e6a4e583be28f/Flask-Session-0.5.0.tar.gz
BuildArch: noarch
%description
@ -17,6 +17,12 @@ Summary: Adds server-side session support to your Flask application
Provides: python-flask-session = %{version}-%{release}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-editables
BuildRequires: python3-hatch-vcs
BuildRequires: python3-hatchling
BuildRequires: python3-flit-core
%description -n python3-flask-session
Flask-Session is an extension for Flask that adds support for
Server-side Session to your application.
@ -33,43 +39,34 @@ Server-side Session to your application.
%autosetup -n Flask-Session-%{version}
%build
%py3_build
%pyproject_build
%install
%py3_install
%pyproject_install
install -d -m755 %{buildroot}/%{_pkgdocdir}
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
pushd %{buildroot}
if [ -d usr/lib ]; then
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/lib64 ]; then
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/bin ]; then
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/sbin ]; then
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
fi
touch doclist.lst
if [ -d usr/share/man ]; then
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
fi
popd
mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%files -n python3-flask-session -f filelist.lst
%dir %{python3_sitelib}/*
%files -n python3-flask-session
%{python3_sitelib}/flask_session
%{python3_sitelib}/flask_session-*.dist-info/
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Thu May 25 2023 Dongxing Wang <dxwangk@isoftstone.com> - 0.5.0-1
- Update package to version 0.5.0
* Fri May 05 2023 wubijie <wubijie@kylinos.cn> - 0.4.1-1
- Update package to version 0.4.1