Upgrade package to version 21.3.0

This commit is contained in:
Gzx1999 2022-09-29 16:46:33 +08:00
parent 8dc2df7516
commit 247ba77030
4 changed files with 39 additions and 8 deletions

25
0001-add-setup.py.patch Normal file
View File

@ -0,0 +1,25 @@
From 442decd2a4c9b754e8c674044b85016d4fa99a7d Mon Sep 17 00:00:00 2001
From: Gzx1999 <guozhengxin@kylinos.cn>
Date: Sat, 24 Sep 2022 19:45:06 +0800
Subject: [PATCH] add setup.py
---
setup.py | 6 ++++++
1 file changed, 6 insertions(+)
create mode 100644 setup.py
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..bac24a4
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,6 @@
+#!/usr/bin/env python
+
+import setuptools
+
+if __name__ == "__main__":
+ setuptools.setup()
--
2.25.1

Binary file not shown.

BIN
argon2-cffi-21.3.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,12 +1,16 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-argon2-cffi Name: python-argon2-cffi
Version: 20.1.0 Version: 21.3.0
Release: 2 Release: 1
Summary: The secure Argon2 password hashing algorithm. Summary: The secure Argon2 password hashing algorithm.
License: MIT License: MIT
URL: https://argon2-cffi.readthedocs.io/ URL: https://github.com/hynek/argon2-cffi
Source0: https://files.pythonhosted.org/packages/74/fd/d78e003a79c453e8454197092fce9d1c6099445b7e7da0b04eb4fe1dbab7/argon2-cffi-20.1.0.tar.gz Source0: https://files.pythonhosted.org/packages/3f/18/20bb5b6bf55e55d14558b57afc3d4476349ab90e0c43e60f27a7c2187289/argon2-cffi-21.3.0.tar.gz
Patch0: 0001-add-setup.py.patch
BuildArch: noarch
Requires: python3-argon2-cffi-bindings
Requires: python3-typing-extensions
%description %description
CFFI-based Argon2 Bindings for Python CFFI-based Argon2 Bindings for Python
@ -16,8 +20,6 @@ Summary: The secure Argon2 password hashing algorithm.
Provides: python-argon2-cffi Provides: python-argon2-cffi
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-cffi
BuildRequires: gcc
%description -n python3-argon2-cffi %description -n python3-argon2-cffi
CFFI-based Argon2 Bindings for Python CFFI-based Argon2 Bindings for Python
@ -28,7 +30,8 @@ Provides: python3-argon2-cffi-doc
CFFI-based Argon2 Bindings for Python CFFI-based Argon2 Bindings for Python
%prep %prep
%autosetup -n argon2-cffi-20.1.0 %autosetup -n argon2-cffi-%{version}
%patch0
%build %build
%py3_build %py3_build
@ -62,12 +65,15 @@ mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst . mv %{buildroot}/doclist.lst .
%files -n python3-argon2-cffi -f filelist.lst %files -n python3-argon2-cffi -f filelist.lst
%dir %{python3_sitearch}/* %dir %{python3_sitelib}/*
%files help -f doclist.lst %files help -f doclist.lst
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Thu Sep 29 2022 guozhengxin <guozhengxin@kylinos.cn> - 21.3.0-1
- Upgrade package to version 21.3.0
* Wed Aug 04 2021 chenyanpanHW <chenyanpan@huawei.com> - 20.1.0-2 * Wed Aug 04 2021 chenyanpanHW <chenyanpan@huawei.com> - 20.1.0-2
- DESC: delete BuildRequires gdb - DESC: delete BuildRequires gdb