diff --git a/cockpit-podman.changes b/cockpit-podman.changes index 1b81df6..645ad33 100644 --- a/cockpit-podman.changes +++ b/cockpit-podman.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Aug 9 17:49:45 UTC 2024 - Herbert Graeber + +- Fix systemd units folder for leap and sle (Similar issue like boo#1226541) + ------------------------------------------------------------------- Wed Jul 31 12:42:45 UTC 2024 - Adam Majer diff --git a/cockpit-podman.spec b/cockpit-podman.spec index 900384b..162d4d6 100644 --- a/cockpit-podman.spec +++ b/cockpit-podman.spec @@ -37,6 +37,7 @@ Requires: podman >= 2.0.4 BuildRequires: cockpit-devel >= 298 BuildRequires: local-npm-registry BuildRequires: sassc +BuildRequires: sed %description Cockpit component for managing Podman containers @@ -59,6 +60,10 @@ export PREFIX=%{_prefix} %make_install appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/* +%if 0%{?suse_version} == 1500 +sed -i -e 's#"/lib/systemd/system#"%{_unitdir}#' %{buildroot}%{_datadir}/cockpit/podman/manifest.json +%endif + %files %doc README.md %license LICENSE