spec: Clean up pre-existing dist/ in %prep
By convention. See https://bugzilla.redhat.com/show_bug.cgi?id=1969450
This commit is contained in:
parent
0c954dbf49
commit
bee838088d
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue