diff --git py-bcrypt/py-bcrypt.spec py-bcrypt/py-bcrypt.spec.tmp index 09e45d3d3b..822f4ec3e9 100644 --- py-bcrypt/py-bcrypt.spec +++ py-bcrypt/py-bcrypt.spec.tmp @@ -16,7 +16,7 @@ Summary: Python bindings for OpenBSD's Blowfish password hashing code Name: py-bcrypt Version: 0.4 -Release: 12%{?dist} +Release: 13%{?dist} License: BSD with advertising Group: Development/Libraries URL: http://code.google.com/p/py-bcrypt/ @@ -30,18 +30,29 @@ BuildRequires: python3-devel %global __provides_exclude_from ^(%{python2_sitearch}/.*\\.so|%{_datadir}/py-bcrypt/.*)$ -%description -python-bcrypt is a Python wrapper of OpenBSD's Blowfish password hashing -code, as described in "A Future-Adaptable Password Scheme" by Niels -Provos and David Mazières. - -This system hashes passwords using a version of Bruce Schneier's Blowfish -block cipher with modifications designed to raise the cost of off-line -password cracking and frustrate fast hardware implementation. The -computation cost of the algorithm is parametised, so it can be increased -as computers get faster. The intent is to make a compromise of a password -database less likely to result in an attacker gaining knowledge of the -plain-text passwords (e.g. using John the Ripper). +%global _description\ +python-bcrypt is a Python wrapper of OpenBSD's Blowfish password hashing\ +code, as described in "A Future-Adaptable Password Scheme" by Niels\ +Provos and David Mazières.\ +\ +This system hashes passwords using a version of Bruce Schneier's Blowfish\ +block cipher with modifications designed to raise the cost of off-line\ +password cracking and frustrate fast hardware implementation. The\ +computation cost of the algorithm is parametised, so it can be increased\ +as computers get faster. The intent is to make a compromise of a password\ +database less likely to result in an attacker gaining knowledge of the\ +plain-text passwords (e.g. using John the Ripper). + +%description %_description + +%package -n python2-py-bcrypt +Summary: %summary +%{?python_provide:%python_provide python2-py-bcrypt} +# Remove before F30 +Provides: py-bcrypt%{?_isa} = %{version}-%{release} +Obsoletes: py-bcrypt < %{version}-%{release} + +%description -n python2-py-bcrypt %_description %if 0%{?with_python3} %package -n python3-py-bcrypt @@ -84,7 +95,7 @@ rm -rf %{buildroot} %clean rm -rf %{buildroot} -%files +%files -n python2-py-bcrypt %defattr(-,root,root,-) %doc LICENSE README TODO %{python2_sitearch}/py_bcrypt-%{version}-py2.* @@ -99,6 +110,10 @@ rm -rf %{buildroot} %endif %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.4-13 +- Python 2 binary package renamed to python2-py-bcrypt + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 0.4-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild