forked from pool/python-passlib
- OpenLeap is not SLE
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-passlib?expand=0&rev=46
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user