summaryrefslogtreecommitdiffstats
path: root/redhat
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2016-11-11 16:35:37 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2016-11-11 16:35:37 +0100
commitcbd335cc4444fd1eeeaa6d269c97a9482fa9c906 (patch)
tree7ed7cf3b9ce9b7f5816a3ab903fa1c75e121523d /redhat
parent483dc217a7e4c2d9ff913d78e5cd41968b161154 (diff)
downloadtde-packaging-cbd335cc4444fd1eeeaa6d269c97a9482fa9c906.tar.gz
tde-packaging-cbd335cc4444fd1eeeaa6d269c97a9482fa9c906.zip
RPM packaging: fix build dependencies on smartcardauth
Diffstat (limited to 'redhat')
-rw-r--r--redhat/applications/smartcardauth/smartcardauth-14.0.0.spec10
1 files changed, 9 insertions, 1 deletions
diff --git a/redhat/applications/smartcardauth/smartcardauth-14.0.0.spec b/redhat/applications/smartcardauth/smartcardauth-14.0.0.spec
index 02673afd1..0ab5ad419 100644
--- a/redhat/applications/smartcardauth/smartcardauth-14.0.0.spec
+++ b/redhat/applications/smartcardauth/smartcardauth-14.0.0.spec
@@ -112,7 +112,11 @@ BuildRequires: libdb-devel
BuildRequires: libdb-cxx-devel
%endif
%if 0%{?suse_version}
-BuildRequires: libdb-4_8-devel
+%if "%{?suse_version}" == "1315"
+BuildRequires: libdb-5_1-devel
+%else
+BuildRequires: libdb-devel
+%endif
%endif
%if 0%{?rhel} && 0%{?rhel} <= 6
BuildRequires: db4-devel
@@ -123,7 +127,11 @@ BuildRequires: db4-devel
BuildRequires: pam-devel
# TLS support
+%if 0%{?suse_version}
+BuildRequires: libgnutls-devel
+%else
BuildRequires: gnutls-devel
+%endif
%description