summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2017-03-18 13:18:42 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2017-03-18 13:18:42 +0100
commitbf9c169ab12086713468cfe958795726ecca8e9d (patch)
tree58585dbef81001c5b731f34492ee19f9ec6a3757
parent47e862efe1419db6a31c68771184eb4fdb9dc32c (diff)
downloadtde-packaging-bf9c169ab12086713468cfe958795726ecca8e9d.tar.gz
tde-packaging-bf9c169ab12086713468cfe958795726ecca8e9d.zip
RPM packaging: fix smartcardauth build dependencies
-rw-r--r--redhat/applications/smartcardauth/smartcardauth-14.0.0.spec5
1 files changed, 3 insertions, 2 deletions
diff --git a/redhat/applications/smartcardauth/smartcardauth-14.0.0.spec b/redhat/applications/smartcardauth/smartcardauth-14.0.0.spec
index 0ab5ad419..087e69080 100644
--- a/redhat/applications/smartcardauth/smartcardauth-14.0.0.spec
+++ b/redhat/applications/smartcardauth/smartcardauth-14.0.0.spec
@@ -112,10 +112,11 @@ BuildRequires: libdb-devel
BuildRequires: libdb-cxx-devel
%endif
%if 0%{?suse_version}
+%if "%{?suse_version}" == "1310" || "%{?suse_version}" == "1320"
+BuildRequires: libdb-4_8-devel
+%endif
%if "%{?suse_version}" == "1315"
BuildRequires: libdb-5_1-devel
-%else
-BuildRequires: libdb-devel
%endif
%endif
%if 0%{?rhel} && 0%{?rhel} <= 6