From f149bbe0673998f2fa7baf8b0d1b5fffac80b3b758e323de429e3ac7f49c57d9 Mon Sep 17 00:00:00 2001 From: Howard Guo Date: Mon, 4 Dec 2017 10:27:54 +0000 Subject: [PATCH] - Correct dependency of sss_obfuscate command line program. OBS-URL: https://build.opensuse.org/package/show/network:ldap/sssd?expand=0&rev=192 --- sssd.changes | 5 +++++ sssd.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/sssd.changes b/sssd.changes index a88f99e..fbeb324 100644 --- a/sssd.changes +++ b/sssd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Dec 4 10:03:59 UTC 2017 - hguo@suse.com + +- Correct dependency of sss_obfuscate command line program. + ------------------------------------------------------------------- Fri Dec 1 14:35:08 UTC 2017 - hguo@suse.com diff --git a/sssd.spec b/sssd.spec index 2e6bb5b..eb2d420 100644 --- a/sssd.spec +++ b/sssd.spec @@ -171,7 +171,7 @@ and/or PAM modules to leverage SSSD caching. Summary: Commandline tools for sssd License: GPL-3.0+ and LGPL-3.0+ Group: System/Management -Requires: python-sssd-config = %version +Requires: python3-sssd-config = %version Requires: sssd = %version %py_requires @@ -431,6 +431,9 @@ export LDFLAGS="-pie" make %{?_smp_mflags} all %install +# sss_obfuscate is compatible with both python 2 and 3 +sed -i -e 's:/usr/bin/python:/usr/bin/python3:' src/tools/sss_obfuscate + b="%buildroot" make install DESTDIR="$b"