diff --git a/python-bcrypt.changes b/python-bcrypt.changes index 1ac815b..945a155 100644 --- a/python-bcrypt.changes +++ b/python-bcrypt.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Aug 27 22:04:24 UTC 2020 - John Paul Adrian Glaubitz + +- Disable Python2 support to fix the build on older distributions + ------------------------------------------------------------------- Thu Aug 20 12:46:59 UTC 2020 - Ondřej Súkup diff --git a/python-bcrypt.spec b/python-bcrypt.spec index 53e816e..2693cc1 100644 --- a/python-bcrypt.spec +++ b/python-bcrypt.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define oldpython python +%define skip_python2 1 Name: python-bcrypt Version: 3.2.0 Release: 0 @@ -42,11 +42,7 @@ Requires: python-six >= 1.4.1 %requires_eq python-cffi Provides: python-py-bcrypt = %{version} Obsoletes: python-py-bcrypt < %{version} -# This is intended as a drop-in replacement for py-bcrypt -%ifpython2 -Provides: %{oldpython}-py-bcrypt = %{version} -Obsoletes: %{oldpython}-py-bcrypt < %{version} -%endif + %python_subpackages %description