diff --git a/cockpit-packages.spec b/cockpit-packages.spec index 186df66..b2a16ae 100644 --- a/cockpit-packages.spec +++ b/cockpit-packages.spec @@ -24,6 +24,7 @@ License: LGPL-2.1-or-later Source: %{name}-%{version}.tar.xz Source10: package-lock.json Source11: node_modules.spec.inc +Patch10: load-css-overrides.patch %include %_sourcedir/node_modules.spec.inc BuildArch: noarch %if ! 0%{?suse_version} @@ -54,6 +55,7 @@ A cockpit module for (un)installing packages %prep %setup -q -n %{name}-%{version} +%patch -P 10 -p1 rm -rf node_modules rm -f package-lock.json local-npm-registry %{_sourcedir} install --include=dev --ignore-scripts diff --git a/load-css-overrides.patch b/load-css-overrides.patch new file mode 100644 index 0000000..05ffc87 --- /dev/null +++ b/load-css-overrides.patch @@ -0,0 +1,24 @@ +From 77918aef950c352f0d35c8198e8109e398a74396 Mon Sep 17 00:00:00 2001 +From: Alice Brooks +Date: Thu, 22 May 2025 11:22:23 +0100 +Subject: [PATCH] Load css overrides + +--- + src/index.html | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/index.html b/src/index.html +index ddf637a..4d49ab3 100644 +--- a/src/index.html ++++ b/src/index.html +@@ -23,6 +23,7 @@ along with this package; If not, see . + + + ++ + + + +-- +2.49.0 +