From 57ff279d42c4338d1ed10d40aeed91fc7354381d Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 15 Nov 2022 10:36:45 -0500 Subject: [PATCH] import python-podman-4.2.1-1.el9_1 --- .gitignore | 2 +- .python-podman.metadata | 2 +- SPECS/python-podman.spec | 32 ++++++++++++++++++++++++++++---- 3 files changed, 30 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index bf091b0..d44d9fe 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/podman-4.2.0.tar.gz +SOURCES/podman-4.2.1.tar.gz diff --git a/.python-podman.metadata b/.python-podman.metadata index 3483627..7dc81b1 100644 --- a/.python-podman.metadata +++ b/.python-podman.metadata @@ -1 +1 @@ -f35e707e10e53e29b76631ab4c58d318c109f941 SOURCES/podman-4.2.0.tar.gz +84072e644b2eff2f4983b4d481eafd94b0110bba SOURCES/podman-4.2.1.tar.gz diff --git a/SPECS/python-podman.spec b/SPECS/python-podman.spec index b7e0778..18e15a7 100644 --- a/SPECS/python-podman.spec +++ b/SPECS/python-podman.spec @@ -1,15 +1,24 @@ -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 -%{name} is a library of bindings to use the RESTful API for Podman. +%{name} is a library of bindings to use the RESTful API for Podman. %package -n python%{python3_pkgversion}-podman BuildRequires: pyproject-rpm-macros @@ -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 - 3:4.2.0-1 +- update to 4.2.1 +- Resolves: #2136283 + +* Fri Oct 21 2022 Jindrich Novy - 3:4.2.0-3 +- fix build +- Related: #2136283 + +* Thu Oct 20 2022 Jindrich Novy - 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 - 3:4.2.0-1 - update to https://github.com/containers/podman-py/releases/tag/v4.2.0 - Related: #2061316