diff --git a/cockpit-machines.spec b/cockpit-machines.spec index 55065b1..46ee3ff 100644 --- a/cockpit-machines.spec +++ b/cockpit-machines.spec @@ -66,7 +66,8 @@ local-npm-registry %{_sourcedir} install --with=dev --legacy-peer-deps || ( find %patch100 -p1 %build -cp -r %{_datadir}/cockpit/devel/lib src/lib +mkdir -p pkg/lib +cp -r %{_datadir}/cockpit/devel/lib/* pkg/lib NODE_ENV=production npm run build %install