From 7ba400d7acd43554d71a69e4bc9ca6f43534a207 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 8 Jun 2023 06:45:37 +0000 Subject: automatic import of python-flaskz --- .gitignore | 1 + python-flaskz.spec | 36 +++++++++++++++++++++++++++--------- sources | 2 +- 3 files changed, 29 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 28aa046..934cbcf 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /flaskz-1.5.tar.gz +/flaskz-1.5.3.tar.gz 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 - 1.5-1 +* Thu Jun 08 2023 Python_Bot - 1.5.3-1 - Package Spec generated diff --git a/sources b/sources index 6046be1..b994171 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -60779556dfd40b5197fd816c8cafa63f flaskz-1.5.tar.gz +b760f34f5491a2b4025d53a266a14282 flaskz-1.5.3.tar.gz -- cgit v1.2.3