diff --git a/README.md b/README.md index 43bc760..5b77074 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,3 @@ CrackLib performs certain tests: CrackLib is actually a library containing a particular C function which is used to check the password, as well as other C functions. CrackLib is not a replacement for a passwd program; it must be used in conjunction with an existing passwd program. -Install the cracklib package if you need a program to check users' passwords to see if they are at least minimally secure. -If you install CrackLib, you'll also want to install the cracklib-dicts package. - diff --git a/cracklib-words-2.9.11.gz b/cracklib-words-2.10.0.gz similarity index 99% rename from cracklib-words-2.9.11.gz rename to cracklib-words-2.10.0.gz index 4be0a01..5c28d46 100644 Binary files a/cracklib-words-2.9.11.gz and b/cracklib-words-2.10.0.gz differ diff --git a/cracklib.spec b/cracklib.spec index d73f71e..b693262 100644 --- a/cracklib.spec +++ b/cracklib.spec @@ -1,5 +1,5 @@ Name: cracklib -Version: 2.9.11 +Version: 2.10.0 Release: 1mamba Summary: A password-checking library Group: System/Libraries @@ -13,6 +13,7 @@ URL: https://sourceforge.net/projects/cracklib License: Artistic ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel +BuildRequires: libpython311-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END @@ -28,9 +29,6 @@ CrackLib performs certain tests: CrackLib is actually a library containing a particular C function which is used to check the password, as well as other C functions. CrackLib is not a replacement for a passwd program; it must be used in conjunction with an existing passwd program. -Install the cracklib package if you need a program to check users' passwords to see if they are at least minimally secure. -If you install CrackLib, you'll also want to install the cracklib-dicts package. - %package -n libcrack Summary: A password-checking library Group: System/Libraries @@ -50,9 +48,6 @@ CrackLib performs certain tests: CrackLib is actually a library containing a particular C function which is used to check the password, as well as other C functions. CrackLib is not a replacement for a passwd program; it must be used in conjunction with an existing passwd program. -Install the cracklib package if you need a program to check users' passwords to see if they are at least minimally secure. -If you install CrackLib, you'll also want to install the cracklib-dicts package. - %package -n libcrack-devel Summary: cracklib link library & header file Group: Development/Libraries @@ -75,6 +70,14 @@ CrackLib will need to use the dictionary appropriate to your system, which is no Cracklib-dicts also contains the utilities necessary for the creation of new dictionaries. If you are installing CrackLib, you should also install cracklib-dicts. +%package -n python-cracklib +Summary: Python bindings to the cracklib library +Group: System/Libraries/Python +Requires: libcrack = %{?epoch:%epoch:}%{version}-%{release} + +%description -n python-cracklib +This package provides the Python bindings to the cracklib library. + %debug_package %prep @@ -128,7 +131,19 @@ util/cracklib-format dicts/cracklib* | util/cracklib-packer %{buildroot}/%{_data %{_datadir}/cracklib/pw_dict.pwi %{_mandir}/man8/cracklib-*.8* +%files -n python-cracklib +%defattr(-,root,root) +%{python3_sitelib}/__pycache__/cracklib.cpython-311*.pyc +%{python3_sitelib}/__pycache__/test_cracklib.cpython-311*.pyc +%{python3_sitelib}/cracklib.py +%{python3_sitelib}/test_cracklib.py +%{python3_sitearch}/_cracklib.a +%{python3_sitearch}/_cracklib.so + %changelog +* Sun Jul 21 2024 Automatic Build System 2.10.0-1mamba +- automatic version update by autodist + * Mon Apr 03 2023 Automatic Build System 2.9.11-1mamba - automatic version update by autodist