From 81f0efffae7190ae2dfc426bb842f934a3492db2 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 21 Dec 2017 16:35:12 -0800 Subject: [PATCH] Disable use of 'tidy' during check phase --- os-autoinst.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/os-autoinst.spec b/os-autoinst.spec index e6ad220..4d7df11 100644 --- a/os-autoinst.spec +++ b/os-autoinst.spec @@ -159,6 +159,10 @@ find %{buildroot} -depth -type d -and -not -name distri -exec rmdir {} \; export NO_BRP_STALE_LINK_ERROR=yes %check +# there's no point in checking code style at package build time, +# and different versions of 'tidy' have different opinions so the +# same code can pass for one Fedora release but fail for another +sed -i -e '/tidy --check/d' Makefile make check VERBOSE=1 %post openvswitch