podman-4.1.1-2.el9
- be sure podman services/sockets are stopped upon package removal - Related: #2061316 Signed-off-by: Jindrich Novy <jnovy@redhat.com>
This commit is contained in:
parent
cf5be8710f
commit
23deebc737
15
podman.spec
15
podman.spec
@ -19,7 +19,7 @@ GO111MODULE=off go build -buildmode pie -compiler gc -tags="rpm_crashtraceback $
|
||||
Epoch: 2
|
||||
Name: podman
|
||||
Version: 4.1.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Manage Pods, Containers and Container Images
|
||||
License: ASL 2.0 and GPLv3+
|
||||
URL: https://%{name}.io/
|
||||
@ -345,6 +345,15 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
|
||||
%{_bindir}/%{name} system renumber
|
||||
exit 0
|
||||
|
||||
%preun
|
||||
if [ $1 == 0 ]; then
|
||||
systemctl stop podman.service > /dev/null 2>&1
|
||||
systemctl stop podman.socket > /dev/null 2>&1
|
||||
systemctl disable podman.service > /dev/null 2>&1
|
||||
systemctl disable podman.socket > /dev/null 2>&1
|
||||
fi
|
||||
:
|
||||
|
||||
#define license tag if not already defined
|
||||
%{!?_licensedir:%global license %doc}
|
||||
|
||||
@ -410,6 +419,10 @@ exit 0
|
||||
%{_libexecdir}/%{name}/gvproxy
|
||||
|
||||
%changelog
|
||||
* Fri Jul 01 2022 Jindrich Novy <jnovy@redhat.com> - 2:4.1.1-2
|
||||
- be sure podman services/sockets are stopped upon package removal
|
||||
- Related: #2061316
|
||||
|
||||
* Wed Jun 15 2022 Jindrich Novy <jnovy@redhat.com> - 2:4.1.1-1
|
||||
- update to https://github.com/containers/podman/releases/tag/v4.1.1
|
||||
- Related: #2061316
|
||||
|
Loading…
Reference in New Issue
Block a user