From e069cbbfbdaf7422cbe2a6b02712e6b7556a0b46 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Mon, 11 Apr 2022 06:46:45 +0200 Subject: [PATCH] spec: Don't run eslint It's useless there -- any style error that may happen there has already slipped through the upstream release, and at RPM build time there is nothing that can be done about it. It just wastes time. This allows us to bump eslint to a newer version which is incompatible with the older node.js on RHEL/CentOS 8. --- packaging/cockpit-starter-kit.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/cockpit-starter-kit.spec.in b/packaging/cockpit-starter-kit.spec.in index 8afadd9..72c9f41 100644 --- a/packaging/cockpit-starter-kit.spec.in +++ b/packaging/cockpit-starter-kit.spec.in @@ -27,7 +27,7 @@ Cockpit Starter Kit Example Module %build # ignore pre-built webpack in release tarball and rebuild it rm -rf dist -NODE_ENV=production make +ESLINT=0 NODE_ENV=production make %install %make_install