Matej Cepl 2021-01-28 13:48:00 +00:00 committed by Git OBS Bridge
parent eb98eaff74
commit bbdc0dbbe6
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jan 28 13:47:51 UTC 2021 - Matej Cepl <mcepl@suse.com>
- OpenLeap is not SLE
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jan 28 08:50:11 UTC 2021 - Antonio Larrosa <alarrosa@suse.com> Thu Jan 28 08:50:11 UTC 2021 - Antonio Larrosa <alarrosa@suse.com>

View File

@ -1,5 +1,5 @@
# #
# spec file for package python-passlib # spec file for package python-passlib-test
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2021 SUSE LLC
# #
@ -16,6 +16,7 @@
# #
%define skip_python2 1
%global flavor @BUILD_FLAVOR@%{nil} %global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test" %if "%{flavor}" == "test"
%define psuffix -test %define psuffix -test
@ -42,7 +43,7 @@ BuildRequires: %{python_module argon2_cffi}
BuildRequires: %{python_module bcrypt} BuildRequires: %{python_module bcrypt}
BuildRequires: %{python_module cryptography} BuildRequires: %{python_module cryptography}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
%if 0%{?suse_version} >= 1550 %if 0%{?suse_version} >= 1550 || 0%{?is_opensuse}
BuildRequires: %{python_module Django} BuildRequires: %{python_module Django}
BuildRequires: %{python_module scrypt} BuildRequires: %{python_module scrypt}
%endif %endif