diff --git a/0001-add-setup.py.patch b/0001-add-setup.py.patch new file mode 100644 index 0000000..7ad928d --- /dev/null +++ b/0001-add-setup.py.patch @@ -0,0 +1,25 @@ +From 442decd2a4c9b754e8c674044b85016d4fa99a7d Mon Sep 17 00:00:00 2001 +From: Gzx1999 +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 + diff --git a/argon2-cffi-20.1.0.tar.gz b/argon2-cffi-20.1.0.tar.gz deleted file mode 100644 index 8f95504..0000000 Binary files a/argon2-cffi-20.1.0.tar.gz and /dev/null differ diff --git a/argon2-cffi-21.3.0.tar.gz b/argon2-cffi-21.3.0.tar.gz new file mode 100644 index 0000000..9c3c79e Binary files /dev/null and b/argon2-cffi-21.3.0.tar.gz differ diff --git a/python-argon2-cffi.spec b/python-argon2-cffi.spec index 406740d..ba01825 100644 --- a/python-argon2-cffi.spec +++ b/python-argon2-cffi.spec @@ -1,12 +1,16 @@ %global _empty_manifest_terminate_build 0 Name: python-argon2-cffi -Version: 20.1.0 -Release: 2 +Version: 21.3.0 +Release: 1 Summary: The secure Argon2 password hashing algorithm. License: MIT -URL: https://argon2-cffi.readthedocs.io/ -Source0: https://files.pythonhosted.org/packages/74/fd/d78e003a79c453e8454197092fce9d1c6099445b7e7da0b04eb4fe1dbab7/argon2-cffi-20.1.0.tar.gz +URL: https://github.com/hynek/argon2-cffi +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 CFFI-based Argon2 Bindings for Python @@ -16,8 +20,6 @@ Summary: The secure Argon2 password hashing algorithm. Provides: python-argon2-cffi BuildRequires: python3-devel BuildRequires: python3-setuptools -BuildRequires: python3-cffi -BuildRequires: gcc %description -n python3-argon2-cffi CFFI-based Argon2 Bindings for Python @@ -28,7 +30,8 @@ Provides: python3-argon2-cffi-doc CFFI-based Argon2 Bindings for Python %prep -%autosetup -n argon2-cffi-20.1.0 +%autosetup -n argon2-cffi-%{version} +%patch0 %build %py3_build @@ -62,12 +65,15 @@ mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-argon2-cffi -f filelist.lst -%dir %{python3_sitearch}/* +%dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog +* Thu Sep 29 2022 guozhengxin - 21.3.0-1 +- Upgrade package to version 21.3.0 + * Wed Aug 04 2021 chenyanpanHW - 20.1.0-2 - DESC: delete BuildRequires gdb