From 05ccabd6e22b003806ab85b9648ec068568ab2939fe6eebe02a720b7b6ba1f44 Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Wed, 24 Aug 2022 07:43:45 +0000 Subject: [PATCH] - Use a list of available brandings to include in cockpit-ws package instead of resolving by symlinks. OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:cockpit/cockpit?expand=0&rev=103 --- cockpit.changes | 6 ++++++ cockpit.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/cockpit.changes b/cockpit.changes index cb5e7e7..8e5cc5f 100644 --- a/cockpit.changes +++ b/cockpit.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Aug 24 07:37:46 UTC 2022 - Adam Majer + +- Use a list of available brandings to include in cockpit-ws + package instead of resolving by symlinks. + ------------------------------------------------------------------- Thu Jul 28 08:41:13 UTC 2022 - Jacek Tomasiak diff --git a/cockpit.spec b/cockpit.spec index 064c72e..0755d40 100644 --- a/cockpit.spec +++ b/cockpit.spec @@ -343,7 +343,7 @@ rm %{buildroot}/%{_prefix}/share/metainfo/org.cockpit-project.cockpit-selinux.me # remove brandings with stale symlinks. Means they don't match # the distro. pushd %{buildroot}/%{_datadir}/cockpit/branding -find -L * -type l -printf "%H\n" | sort -u | xargs rm -rv +ls --hide={default,kubernetes,opensuse,registry,sle-micro} | xargs rm -rv popd # need this in SUSE as post build checks dislike stale symlinks install -m 644 -D /dev/null %{buildroot}/run/cockpit/motd