2
0

Fix systemd units folder for leap and sle

This commit is contained in:
Herbert Graeber 2024-08-12 18:12:30 +02:00 committed by Adam Majer
parent d649604f9c
commit 68fb781e88
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Aug 9 17:49:45 UTC 2024 - Herbert Graeber <herbert@graeber-clan.de>
- Fix systemd units folder for leap and sle (Similar issue like boo#1226541)
-------------------------------------------------------------------
Wed Jul 31 12:42:45 UTC 2024 - Adam Majer <adam.majer@suse.de>

View File

@ -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