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.
This commit is contained in:
Martin Pitt 2022-04-11 06:46:45 +02:00 committed by Martin Pitt
parent 7a0968bd8c
commit e069cbbfbd

View file

@ -27,7 +27,7 @@ Cockpit Starter Kit Example Module
%build %build
# ignore pre-built webpack in release tarball and rebuild it # ignore pre-built webpack in release tarball and rebuild it
rm -rf dist rm -rf dist
NODE_ENV=production make ESLINT=0 NODE_ENV=production make
%install %install
%make_install %make_install