forked from pool/cockpit-podman
Fix systemd units folder for leap and sle
This commit is contained in:
parent
d649604f9c
commit
68fb781e88
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user