diff --git a/bcrypt-3.2.0.tar.gz b/bcrypt-3.2.0.tar.gz deleted file mode 100644 index b97d6854534cbc86fc960270a19b9230d109dcda..0000000000000000000000000000000000000000 Binary files a/bcrypt-3.2.0.tar.gz and /dev/null differ diff --git a/bcrypt-3.2.2.tar.gz b/bcrypt-3.2.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..87ceb1fff11cecd864c2a03573e14b9c2ede4e54 Binary files /dev/null and b/bcrypt-3.2.2.tar.gz differ diff --git a/python-bcrypt.spec b/python-bcrypt.spec index b78226ebd59f5117f7e3ed028bce6ddcb9b22bc4..7c619acea2c4723b8f446c0ccfc3a0f0dabda216 100644 --- a/python-bcrypt.spec +++ b/python-bcrypt.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-bcrypt -Version: 3.2.0 -Release: 2 +Version: 3.2.2 +Release: 1 Summary: Modern password hashing for your software and your servers License: Apache-2.0 URL: https://github.com/pyca/bcrypt/ -Source0: https://files.pythonhosted.org/packages/d8/ba/21c475ead997ee21502d30f76fd93ad8d5858d19a3fad7cd153de698c4dd/bcrypt-3.2.0.tar.gz +Source0: https://files.pythonhosted.org/packages/source/b/bcrypt/bcrypt-%{version}.tar.gz %description Good password hashing for your software and your servers. This library should be compatible with py-bcrypt and it will run on Python 2.7, 3.4+, and PyPy 2.6+. @@ -32,7 +32,7 @@ Good password hashing for your software and your servers. This library should be compatible with py-bcrypt and it will run on Python 2.7, 3.4+, and PyPy 2.6+. %prep -%autosetup -n bcrypt-3.2.0 +%autosetup -n bcrypt-%{version} -p1 %build %py3_build @@ -67,7 +67,8 @@ mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %check -%{__python3} setup.py test +export PYTHONPATH=%{buildroot}%{python3_sitearch} +pytest %files -n python3-bcrypt -f filelist.lst %dir %{python3_sitearch}/* @@ -76,6 +77,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Fri Apr 28 2023 yaoxin - 3.2.2-1 +- Update to 3.2.2 + * Mon Jun 20 2022 tanyulong - 3.2.0-2 - Delete unnecessary gdb from BuildRequires