Branch: master

bf9c169a 2017-03-18 07:18:42 François Andriot
RPM packaging: fix smartcardauth build dependencies
M redhat/applications/smartcardauth/smartcardauth-14.0.0.spec
diff --git a/redhat/applications/smartcardauth/smartcardauth-14.0.0.spec b/redhat/applications/smartcardauth/smartcardauth-14.0.0.spec
index 0ab5ad4..087e690 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-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