diff --git a/python-bcrypt.spec b/python-bcrypt.spec index e27116d..5eeb78b 100644 --- a/python-bcrypt.spec +++ b/python-bcrypt.spec @@ -1,5 +1,6 @@ +%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-bcrypt -Version: 3.2.2 +Version: 4.0.1 Release: 1mamba Summary: Good password hashing for your software and your servers Group: System/Libraries @@ -11,10 +12,9 @@ Source: https://pypi.debian.net/bcrypt/bcrypt-%{version}.tar.gz License: Apache License 2.0 ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel +BuildRequires: libgcc BuildRequires: libpython3-devel ## AUTOBUILDREQ-END -BuildRequires: libpython-devel -Requires: python >= %python_version %description %{summary}. @@ -38,18 +38,22 @@ CFLAGS="%{optflags}" %{__python} setup.py build --install-lib=%{python_sitearch} \ --record=%{name}.filelist -sed -i "s,.*/man/.*,&.gz," %{name}.filelist +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) -## note: this list is just an example; modify as required -# %{python_sitearch}/%{name}.py* -# %{python_sitearch}/%{name}.so +%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info +%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/* +%{python_sitearch}/bcrypt/_bcrypt.abi3.so %doc LICENSE -## note: add extra documentation (if any) -# %doc README.rst %changelog +* Tue Oct 11 2022 Automatic Build System 4.0.1-1mamba +- automatic version update by autodist + +* Sun Oct 09 2022 Automatic Build System 4.0.0-1mamba +- automatic version update by autodist + * Mon May 02 2022 Automatic Build System 3.2.2-1mamba - automatic version update by autodist