From 1cdf3dbd39f3ed4f94f978353bae09dca0c3362c03b5ae4ce9d62e66b903b205 Mon Sep 17 00:00:00 2001 From: Paulo Alcantara Date: Tue, 12 Mar 2019 22:16:54 +0000 Subject: [PATCH] Accepting request 684493 from home:dmulder:branches:home:pauloac:cifs-utils-python-test - Fix build failure on SLE15; (bsc#1051510) OBS-URL: https://build.opensuse.org/request/show/684493 OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/cifs-utils?expand=0&rev=164 --- cifs-utils.changes | 5 +++++ cifs-utils.spec | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/cifs-utils.changes b/cifs-utils.changes index 4f7f55f..6696acf 100644 --- a/cifs-utils.changes +++ b/cifs-utils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Mar 12 13:39:46 UTC 2019 - palcantara@suse.de + +- Fix build failure on SLE15; (bsc#1051510) + ------------------------------------------------------------------- Thu Feb 14 11:27:09 UTC 2019 - aaptel@suse.com diff --git a/cifs-utils.spec b/cifs-utils.spec index 3fc9ef5..83c9dc0 100644 --- a/cifs-utils.spec +++ b/cifs-utils.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -85,7 +85,11 @@ BuildRequires: fdupes BuildRequires: libwbclient-devel BuildRequires: pam-devel BuildRequires: pkg-config +%if 0%{?suse_version} >= 1500 || 0%{?sle_version} >= 150000 +BuildRequires: (samba-libs-python3 if samba-libs >= 4.9.3) +%else BuildRequires: samba-libs-python3 +%endif Requires: keyutils %if ! %{defined _rundir} %define _rundir %{_localstatedir}/run