Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
dd674e5644
!12 Update to 5.0.0 for fix CVE-2024-6221
From: @starlet-dx 
Reviewed-by: @cherry530 
Signed-off-by: @cherry530
2024-09-18 09:18:59 +00:00
starlet-dx
cc4bee1a71 Update to 5.0.0 for fix CVE-2024-6221 2024-09-18 17:05:07 +08:00
openeuler-ci-bot
5a5222346b
!7 [sync] PR-6: Fix CVE-2024-1681
From: @openeuler-sync-bot 
Reviewed-by: @cherry530 
Signed-off-by: @cherry530
2024-06-07 01:50:18 +00:00
starlet-dx
ef2eb684a4 Fix CVE-2024-1681
(cherry picked from commit 9c2bd2fd623ad4794bb5c103ffb99cd3c9e3bdd7)
2024-05-28 15:34:02 +08:00
openeuler-ci-bot
c27e649273
!5 Upgrade to latest release [python-Flask-Cors -> 4.0.0]
From: @Jason_828e 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2023-07-12 02:24:47 +00:00
Jason_828e
5610196e21 update version to 4.0.0 2023-07-07 00:04:41 +08:00
openeuler-ci-bot
5ce555c629
!4 Add zlib to buildrequires
From: @jxy_git 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2022-04-02 06:29:36 +00:00
jxy_git
55fc00a42b Add zlib to buildrequires 2022-04-02 14:19:33 +08:00
openeuler-ci-bot
d3b9e98ef8 !3 upgrade to 3.0.10
From: @jxy_git
Reviewed-by: @shinwell_hu
Signed-off-by: @shinwell_hu
2021-12-03 02:42:49 +00:00
jiangxinyu
64d0f2fcb1 upgrade to 3.0.10 2021-12-02 10:21:49 +08:00
4 changed files with 25 additions and 3 deletions

Binary file not shown.

View File

@ -1,15 +1,16 @@
%global _empty_manifest_terminate_build 0
Name: python-Flask-Cors
Version: 3.0.8
Version: 5.0.0
Release: 1
Summary: A Flask extension adding a decorator for CORS support
License: MIT
URL: https://github.com/corydolphin/flask-cors
Source0: https://files.pythonhosted.org/packages/9e/11/ca8b95c5bf9644471601e425f0de8cbd09a506bb6c24842cb17a6cd1eea8/Flask-Cors-3.0.8.tar.gz
Source0: https://files.pythonhosted.org/packages/source/F/Flask-Cors/flask_cors-%{version}.tar.gz
BuildArch: noarch
Requires: python3-Flask
Requires: python3-Six
BuildRequires: zlib >= 1.2.11
%description
A Flask extension for handling Cross Origin Resource Sharing (CORS), making cross-origin AJAX possible.
@ -29,7 +30,7 @@ Provides: python3-Flask-Cors-doc
A Flask extension for handling Cross Origin Resource Sharing (CORS), making cross-origin AJAX possible.
%prep
%autosetup -n Flask-Cors-3.0.8
%autosetup -n flask_cors-%{version} -p1
%build
%py3_build
@ -69,5 +70,22 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Wed Sep 18 2024 yaoxin <yao_xin001@hoperun.com> - 5.0.0-1
- Update to 5.0.0:
* Breaking: Change default to disable private network access
This effectively resolves GHSA-hxwh-jpp2-84pm https://osv.dev/vulnerability/PYSEC-2024-71
* Tue May 28 2024 yaoxin <yao_xin001@hoperun.com> - 4.0.0-2
- Fix CVE-2024-1681
* Tue Jul 11 2023 chenzixuan <chenzixuan@kylinos.cn> - 4.0.0-1
- upgrade to 4.0.0
* Sat Apr 02 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 3.0.10-2
- Add zlib to buildrequires
* Thu Dec 02 2021 Python_Bot <Python_Bot@openeuler.org> - 3.0.10
- upgrade to 3.0.10
* Wed Aug 19 2020 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated

4
flask-cors.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: corydolphin/flask-cors
tag_prefix: ^v
separator: "."

BIN
flask_cors-5.0.0.tar.gz Normal file

Binary file not shown.