RPM: fix smartcardauth build on opensuse 42.2

pull/3/head
François Andriot 8 years ago
parent 381e123736
commit f5fb93e00b

@ -112,10 +112,9 @@ BuildRequires: libdb-devel
BuildRequires: libdb-cxx-devel BuildRequires: libdb-cxx-devel
%endif %endif
%if 0%{?suse_version} %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 BuildRequires: libdb-4_8-devel
%endif %else
%if "%{?suse_version}" == "1315"
BuildRequires: libdb-5_1-devel BuildRequires: libdb-5_1-devel
%endif %endif
%endif %endif

Loading…
Cancel
Save