summaryrefslogtreecommitdiff
path: root/python-flaskz.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 06:45:37 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 06:45:37 +0000
commit7ba400d7acd43554d71a69e4bc9ca6f43534a207 (patch)
treec56c38ce437e2c1fd709429b861c4b8a6dc741f9 /python-flaskz.spec
parent3353279a60c12e1fcf8e6e5e212622fc1289298e (diff)
automatic import of python-flaskzopeneuler20.03
Diffstat (limited to 'python-flaskz.spec')
-rw-r--r--python-flaskz.spec36
1 files changed, 27 insertions, 9 deletions
diff --git a/python-flaskz.spec b/python-flaskz.spec
index 872488f..84bd4e4 100644
--- a/python-flaskz.spec
+++ b/python-flaskz.spec
@@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-flaskz
-Version: 1.5
+Version: 1.5.3
Release: 1
Summary: Flask and SQLAlchemy extensions for web applications
License: MIT License
URL: https://github.com/taozh1982/flaskz
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ef/b5/a77da13445b8e52197d23528eb1a97896eb8c7d4de61e20824fe4f3f145d/flaskz-1.5.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/83/b8/fbead1deaa3a08c750bcf4d40aef732f01a685ed15ef101f8ff9b4693906/flaskz-1.5.3.tar.gz
BuildArch: noarch
Requires: python3-Flask
@@ -28,6 +28,12 @@ Requires: python3-requests
## 版本
+- **1.5.3** `2023/06/01`
+ - [F] `flaskz.util.api_request`函数的`url_params`参数仅用于url中的`{变量}`替换而不添加查询字符串
+ - [A] `flaskz.util.api_request`函数添加`url_search_params`参数用于添加url查询字符串
+- **1.5.2** `2023/05/17`
+ - [C] `db_session`上下文管理器自动关闭非缓存session
+ - [F] 修复`BaseModelMixin.get_query_default_order`默认排序在`query_pss`方法中不起作用的问题
- **1.5** `2023/05/01`
- [A] 重构`flaskz.rest`路由生成模块*
- 添加`register_model_route`函数,可用于生成指定数据模型的CRUD等路由
@@ -108,6 +114,12 @@ BuildRequires: python3-pip
## 版本
+- **1.5.3** `2023/06/01`
+ - [F] `flaskz.util.api_request`函数的`url_params`参数仅用于url中的`{变量}`替换而不添加查询字符串
+ - [A] `flaskz.util.api_request`函数添加`url_search_params`参数用于添加url查询字符串
+- **1.5.2** `2023/05/17`
+ - [C] `db_session`上下文管理器自动关闭非缓存session
+ - [F] 修复`BaseModelMixin.get_query_default_order`默认排序在`query_pss`方法中不起作用的问题
- **1.5** `2023/05/01`
- [A] 重构`flaskz.rest`路由生成模块*
- 添加`register_model_route`函数,可用于生成指定数据模型的CRUD等路由
@@ -185,6 +197,12 @@ Provides: python3-flaskz-doc
## 版本
+- **1.5.3** `2023/06/01`
+ - [F] `flaskz.util.api_request`函数的`url_params`参数仅用于url中的`{变量}`替换而不添加查询字符串
+ - [A] `flaskz.util.api_request`函数添加`url_search_params`参数用于添加url查询字符串
+- **1.5.2** `2023/05/17`
+ - [C] `db_session`上下文管理器自动关闭非缓存session
+ - [F] 修复`BaseModelMixin.get_query_default_order`默认排序在`query_pss`方法中不起作用的问题
- **1.5** `2023/05/01`
- [A] 重构`flaskz.rest`路由生成模块*
- 添加`register_model_route`函数,可用于生成指定数据模型的CRUD等路由
@@ -244,7 +262,7 @@ Provides: python3-flaskz-doc
%prep
-%autosetup -n flaskz-1.5
+%autosetup -n flaskz-1.5.3
%build
%py3_build
@@ -258,20 +276,20 @@ 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
+ 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
+ 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
+ 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
+ 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 .
@@ -284,5 +302,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.5-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 1.5.3-1
- Package Spec generated