From 50189256e352733664a8e3b56dd7dc612bdf3f4f Mon Sep 17 00:00:00 2001 From: Renbo Date: Thu, 2 Mar 2023 15:47:44 +0800 Subject: [PATCH] update to python-podman-4.2.1-1.module+el8.7.0+17824+66a0202b Signed-off-by: Renbo --- download | 2 +- python-podman.spec | 32 +++++++++++++++++++++++++++----- 2 files changed, 28 insertions(+), 6 deletions(-) diff --git a/download b/download index ff463a1..a5ca73d 100644 --- a/download +++ b/download @@ -1 +1 @@ -d23c962f55653f8ec84a27f668e04d1c podman-4.0.1.tar.gz +31697c938625fc7e66c500facce392ae podman-4.2.1.tar.gz diff --git a/python-podman.spec b/python-podman.spec index 5112b0d..d9c3415 100644 --- a/python-podman.spec +++ b/python-podman.spec @@ -1,10 +1,19 @@ +%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}) + Name: python-podman -Version: 4.0.1 +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,6 +33,7 @@ BuildRequires: python%{python3_pkgversion}-pyxdg BuildRequires: python%{python3_pkgversion}-requests BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: git-core +BuildRequires: python%{python3_pkgversion}-sphinx Requires: python%{python3_pkgversion}-pyxdg Requires: python%{python3_pkgversion}-requests Provides: podman-py = %{version}-%{release} @@ -34,7 +44,11 @@ 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} +%endif %build %py3_build @@ -49,11 +63,19 @@ Summary: %{summary} %{python3_sitelib}/podman-*/* %changelog -* Fri Oct 07 2022 Jindrich Novy - 4.0.1-1 -- Add podman support to perform custom actions on unhealthy containers -- Resolves: #2132361 +* Mon Oct 24 2022 Jindrich Novy - 4.2.1-1 +- update to 4.2.1 release +- Resolves: #2132360 + +* Thu Oct 20 2022 Jindrich Novy - 4.2.0-2 +- fix "[RFE] python-podman: Podman support to perform custom actions on unhealthy containers" +- Resolves: #2132360 + +* Thu Aug 11 2022 Jindrich Novy - 4.2.0-1 +- update to https://github.com/containers/podman-py/releases/tag/v4.2.0 +- Related: #2061390 -* Mon Mar 07 2022 Jindrich Novy - 4.0.0-1 +* Mon Feb 28 2022 Lokesh Mandvekar - 4.0.0-1 - bump to v4.0.0 - Related: #2001445 -- Gitee