From bee838088d09bc6d73b87e19b26df188266bfc6d Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Fri, 17 Sep 2021 06:54:25 +0200 Subject: [PATCH] spec: Clean up pre-existing dist/ in %prep By convention. See https://bugzilla.redhat.com/show_bug.cgi?id=1969450 --- packaging/cockpit-starter-kit.spec.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/cockpit-starter-kit.spec.in b/packaging/cockpit-starter-kit.spec.in index fdda0f5..244e2cb 100644 --- a/packaging/cockpit-starter-kit.spec.in +++ b/packaging/cockpit-starter-kit.spec.in @@ -27,10 +27,10 @@ Cockpit Starter Kit Example Module %prep %setup -q -n %{name} %setup -q -a 1 -n %{name} - -%build # ignore pre-built webpack in release tarball and rebuild it rm -rf dist + +%build ESLINT=0 NODE_ENV=production make %install