From 74a3a8d07718d08fa36dbec9ddebff71b106cb48f983023b54e1f4d1e293bd9c Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Fri, 10 Jun 2022 14:47:53 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:cockpit/cockpit-machines?expand=0&rev=12 --- cockpit-machines.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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