diff --git a/cockpit.spec b/cockpit.spec index 853f5cb..3830600 100644 --- a/cockpit.spec +++ b/cockpit.spec @@ -239,8 +239,7 @@ BuildRequires: python3-tox-current-env cp %SOURCE1 tools/cockpit.pam # -rm -rf node_modules package-lock.json -local-npm-registry %{_sourcedir} install --also=dev --legacy-peer-deps +local-npm-registry %{_sourcedir} install --include=dev --ignore-scripts %build find node_modules -name \*.node -print -delete