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
|
Epoch: 2
|
||||||
Name: podman
|
Name: podman
|
||||||
Version: 4.1.1
|
Version: 4.1.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Manage Pods, Containers and Container Images
|
Summary: Manage Pods, Containers and Container Images
|
||||||
License: ASL 2.0 and GPLv3+
|
License: ASL 2.0 and GPLv3+
|
||||||
URL: https://%{name}.io/
|
URL: https://%{name}.io/
|
||||||
@ -345,6 +345,15 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
|
|||||||
%{_bindir}/%{name} system renumber
|
%{_bindir}/%{name} system renumber
|
||||||
exit 0
|
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
|
#define license tag if not already defined
|
||||||
%{!?_licensedir:%global license %doc}
|
%{!?_licensedir:%global license %doc}
|
||||||
|
|
||||||
@ -410,6 +419,10 @@ exit 0
|
|||||||
%{_libexecdir}/%{name}/gvproxy
|
%{_libexecdir}/%{name}/gvproxy
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- update to https://github.com/containers/podman/releases/tag/v4.1.1
|
||||||
- Related: #2061316
|
- Related: #2061316
|
||||||
|
Loading…
Reference in New Issue
Block a user