14
0
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,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