import python-podman-4.2.1-1.el9_1

This commit is contained in:
CentOS Sources 2022-11-15 10:36:45 -05:00 committed by Stepan Oksanichenko
parent f94d6b6590
commit 35dd8924cb
3 changed files with 30 additions and 6 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/podman-4.2.0.tar.gz
SOURCES/podman-4.2.1.tar.gz

View File

@ -1 +1 @@
f35e707e10e53e29b76631ab4c58d318c109f941 SOURCES/podman-4.2.0.tar.gz
84072e644b2eff2f4983b4d481eafd94b0110bba SOURCES/podman-4.2.1.tar.gz

View File

@ -1,11 +1,20 @@
Name: python-podman
%global python_podman_version v4.2.1
#%%global python_podman_branch v4.2.0-rhel
%global python_podman_commit0 c52201038ef5bed260b81d8d84df8b95b26fc231
%global python_podman_shortcommit0 %(c=%{python_podman_commit0}; echo ${c:0:7})
Epoch: 3
Version: 4.2.0
Name: python-podman
Version: 4.2.1
Release: 1%{?dist}
Summary: RESTful API for Podman
License: ASL 2.0
URL: https://github.com/containers/podman-py
%if 0%{?python_podman_branch:1}
Source0: https://github.com/containers/podman-py/archive/%{python_podman_commit0}.tar.gz
%else
Source0: %{url}/releases/download/v%{version}/podman-%{version}.tar.gz
%endif
BuildArch: noarch
%description
@ -24,10 +33,13 @@ Summary: %{summary}
%{name} is a library of bindings to use the RESTful API for Podman.
%prep
%if 0%{?python_podman_branch:1}
%autosetup -Sgit_am -n podman-py-%{python_podman_commit0}
%else
%autosetup -Sgit_am -n podman-%{version}
%generate_buildrequires
%pyproject_buildrequires %{?with_tests:-t}
%endif
%build
export PBR_VERSION="0.0.0"
@ -45,6 +57,18 @@ export PBR_VERSION="0.0.0"
%doc README.md
%changelog
* Mon Oct 24 2022 Jindrich Novy <jnovy@redhat.com> - 3:4.2.0-1
- update to 4.2.1
- Resolves: #2136283
* Fri Oct 21 2022 Jindrich Novy <jnovy@redhat.com> - 3:4.2.0-3
- fix build
- Related: #2136283
* Thu Oct 20 2022 Jindrich Novy <jnovy@redhat.com> - 4.2.0-2
- fix "[RFE] python-podman: Podman support to perform custom actions on unhealthy containers"
- Resolves: #2136283
* Thu Aug 11 2022 Jindrich Novy <jnovy@redhat.com> - 3:4.2.0-1
- update to https://github.com/containers/podman-py/releases/tag/v4.2.0
- Related: #2061316