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-4.0.0.tar.gz b/bcrypt-4.0.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..92489ae37eb7c8125519ef357f01d8679bfa9337 Binary files /dev/null and b/bcrypt-4.0.0.tar.gz differ diff --git a/python-bcrypt.spec b/python-bcrypt.spec index b78226ebd59f5117f7e3ed028bce6ddcb9b22bc4..16859ca9c666f4fcce4a6c6fbed417792dcc1bd8 100644 --- a/python-bcrypt.spec +++ b/python-bcrypt.spec @@ -1,45 +1,45 @@ %global _empty_manifest_terminate_build 0 -Name: python-bcrypt -Version: 3.2.0 -Release: 2 -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 +Name: python-bcrypt +Version: 4.0.0 +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/99/f2/b71b9b5b2400fffac7d42c560ac89f302c4d8e328337b2f05f0a4d9e590d/bcrypt-4.0.0.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+. %package -n python3-bcrypt -Summary: Modern password hashing for your software and your servers -Provides: python-bcrypt - -BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-cffi -BuildRequires: gcc -BuildRequires: python3-six -BuildRequires: python3-pytest +Summary: Modern password hashing for your software and your servers +Provides: python-bcrypt +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-setuptools_rust +BuildRequires: python3-cffi +BuildRequires: gcc +BuildRequires: python3-six +BuildRequires: python3-pytest %description -n python3-bcrypt 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+. %package help -Summary: Modern password hashing for your software and your servers -Provides: python3-bcrypt-doc +Summary: Modern password hashing for your software and your servers +Provides: python3-bcrypt-doc %description help 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} %build %py3_build %install %py3_install - install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi @@ -47,20 +47,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 . @@ -76,6 +76,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Sun Sep 25 2022 guozhengxin - 4.0.0-1 +- Upgrade package to version 4.0.0 + * Mon Jun 20 2022 tanyulong - 3.2.0-2 - Delete unnecessary gdb from BuildRequires