From f5fb93e00bc4656f22a61a8e04d227aae47e1dc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sat, 24 Jun 2017 23:56:39 +0200 Subject: RPM: fix smartcardauth build on opensuse 42.2 --- redhat/applications/smartcardauth/smartcardauth-14.0.0.spec | 5 ++--- 1 file 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 -- cgit v1.2.1