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