summaryrefslogtreecommitdiffstats
path: root/redhat/applications/smartcardauth
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2017-06-24 23:56:39 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2017-06-24 23:56:39 +0200
commitf5fb93e00bc4656f22a61a8e04d227aae47e1dc4 (patch)
tree137cb785a6906bc61ba061143e040ab107a17f99 /redhat/applications/smartcardauth
parent381e1237361c29c6082eefb019023a3e8b791632 (diff)
downloadtde-packaging-f5fb93e00bc4656f22a61a8e04d227aae47e1dc4.tar.gz
tde-packaging-f5fb93e00bc4656f22a61a8e04d227aae47e1dc4.zip
RPM: fix smartcardauth build on opensuse 42.2
Diffstat (limited to 'redhat/applications/smartcardauth')
-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