diff --git a/python-passlib.changes b/python-passlib.changes index 89eb6bf..15d3819 100644 --- a/python-passlib.changes +++ b/python-passlib.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 28 13:47:51 UTC 2021 - Matej Cepl + +- OpenLeap is not SLE + ------------------------------------------------------------------- Thu Jan 28 08:50:11 UTC 2021 - Antonio Larrosa diff --git a/python-passlib.spec b/python-passlib.spec index 7559540..829c682 100644 --- a/python-passlib.spec +++ b/python-passlib.spec @@ -1,5 +1,5 @@ # -# spec file for package python-passlib +# spec file for package python-passlib-test # # Copyright (c) 2021 SUSE LLC # @@ -16,6 +16,7 @@ # +%define skip_python2 1 %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" %define psuffix -test @@ -42,7 +43,7 @@ BuildRequires: %{python_module argon2_cffi} BuildRequires: %{python_module bcrypt} BuildRequires: %{python_module cryptography} BuildRequires: %{python_module pytest} -%if 0%{?suse_version} >= 1550 +%if 0%{?suse_version} >= 1550 || 0%{?is_opensuse} BuildRequires: %{python_module Django} BuildRequires: %{python_module scrypt} %endif