summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--redhat/applications/smartcardauth/smartcardauth-14.0.0.spec5
1 files changed, 2 insertions, 3 deletions
diff --git a/redhat/applications/smartcardauth/smartcardauth-14.0.0.spec b/redhat/applications/smartcardauth/smartcardauth-14.0.0.spec
index 087e69080..fef6967d7 100644
--- a/redhat/applications/smartcardauth/smartcardauth-14.0.0.spec
+++ b/redhat/applications/smartcardauth/smartcardauth-14.0.0.spec
@@ -112,10 +112,9 @@ BuildRequires: libdb-devel
BuildRequires: libdb-cxx-devel
%endif
%if 0%{?suse_version}
-%if "%{?suse_version}" == "1310" || "%{?suse_version}" == "1320"
+%if "%{?suse_version}" == "1310" || "%{?suse_version}" == "1320" || 0%{?sle_version} == 120200
BuildRequires: libdb-4_8-devel
-%endif
-%if "%{?suse_version}" == "1315"
+%else
BuildRequires: libdb-5_1-devel
%endif
%endif