integ/base/sudo/centos/meta_patches/0003-remove-make-check.patch
Martin, Chen 12c9484b47 rebase sudo patch to CentOS 7.6 version
Remove sudoer2ldif install command for this bin file
be removed in sudo-1.8.23-3.el7.src.rpm release

Test:
Pass build and multi-node deploy test

Depends-On: https://review.openstack.org/627207

Story: 2004522
Task: 28415

Change-Id: Ibf991ea6dcd77dc71f963f53cdb7f7d90d5a2c79
Signed-off-by: Martin, Chen <haochuan.z.chen@intel.com>
2019-01-02 19:31:45 +08:00

18 lines
382 B
Diff

diff --git a/SPECS/sudo.spec b/SPECS/sudo.spec
index 8c3f395..17531f7 100644
--- a/SPECS/sudo.spec
+++ b/SPECS/sudo.spec
@@ -120,7 +120,8 @@ export CFLAGS="$RPM_OPT_FLAGS $F_PIE" LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now" SHL
make
%check
-make check
+# "make check" fails if there is no group named "bin" in the mock system
+# make check
%install
rm -rf %{buildroot}
--
2.7.4