Accepting request 1248217 from systemsmanagement:cockpit

- fix build with latest local-npm-registry

OBS-URL: https://build.opensuse.org/request/show/1248217
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cockpit?expand=0&rev=54
This commit is contained in:
Dominique Leuenberger 2025-02-25 15:41:04 +00:00 committed by Git OBS Bridge
commit f72b5fc621
4 changed files with 11 additions and 5 deletions

View File

@ -1,5 +1,5 @@
mtime: 1740129393 mtime: 1740416596
commit: de4b8becd9c83bea352cf5f0f707807082e022a1e5473186a39cb1c5d58e2013 commit: 247c2b140945d069af726b48603187b1c4f39033568fe848846ac7dd6a535b52
url: https://src.opensuse.org/cockpit/cockpit.git url: https://src.opensuse.org/cockpit/cockpit.git
revision: de4b8becd9c83bea352cf5f0f707807082e022a1e5473186a39cb1c5d58e2013 revision: 247c2b140945d069af726b48603187b1c4f39033568fe848846ac7dd6a535b52
projectscmsync: https://src.opensuse.org/cockpit/_ObsPrj.git#64e9cfa9f6042fa7adfdd4b37913eb3942c31e4934277b1b3dd1de2176db4f01 projectscmsync: https://src.opensuse.org/cockpit/_ObsPrj.git#dc2e2f8ec00b60c5bb9eca47262d1b6d22f5bd7af5cdd2f8f55a062a56e4ccef

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:3bf7304920353eb3a6329abecbbaff3c30aae7147cf5408f58e23129a93f73bf oid sha256:e8f84878146d74c428883fd3bf4afa122e627181a0b8c22a0467611777e514ea
size 256 size 256

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Feb 24 17:02:38 UTC 2025 - Adam Majer <adam.majer@suse.de>
- fix build with latest local-npm-registry
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Feb 21 08:03:00 UTC 2025 - Alice Brooks <alice.brooks@suse.com> Fri Feb 21 08:03:00 UTC 2025 - Alice Brooks <alice.brooks@suse.com>

View File

@ -243,6 +243,7 @@ cp %SOURCE4 tools/cockpit.pam
%endif %endif
# #
local-npm-registry %{_sourcedir} install --include=dev --ignore-scripts local-npm-registry %{_sourcedir} install --include=dev --ignore-scripts
touch package-lock.json
%build %build
find node_modules -name \*.node -print -delete find node_modules -name \*.node -print -delete