Disable use of 'tidy' during check phase

f38
Adam Williamson 7 years ago
parent 68287a790d
commit 81f0efffae

@ -159,6 +159,10 @@ find %{buildroot} -depth -type d -and -not -name distri -exec rmdir {} \;
export NO_BRP_STALE_LINK_ERROR=yes export NO_BRP_STALE_LINK_ERROR=yes
%check %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 make check VERBOSE=1
%post openvswitch %post openvswitch

Loading…
Cancel
Save