import python-podman-4.4.1-1.module+el8.8.0+18275+3a56cc62

This commit is contained in:
CentOS Sources 2023-05-16 06:15:09 +00:00 committed by Stepan Oksanichenko
parent d7342e2d4b
commit 908be240c5
3 changed files with 20 additions and 30 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/podman-4.2.1.tar.gz
SOURCES/v4.4.1.tar.gz

View File

@ -1 +1 @@
84072e644b2eff2f4983b4d481eafd94b0110bba SOURCES/podman-4.2.1.tar.gz
533fd9813c18c8a65d4c359c27826cbfff1bf425 SOURCES/v4.4.1.tar.gz

View File

@ -1,19 +1,10 @@
%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.2.1
Version: 4.4.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
Source0: https://github.com/containers/podman-py/archive/refs/tags/v%{version}.tar.gz
BuildArch: noarch
%description
@ -22,18 +13,13 @@ BuildArch: noarch
%package -n python%{python3_pkgversion}-podman
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-rpm-macros
%if 0%{?fedora} || 0%{?rhel} >= 9
BuildRequires: python%{python3_pkgversion}-toml
Requires: python%{python3_pkgversion}-toml
%else
BuildRequires: python%{python3_pkgversion}-pytoml
Requires: python%{python3_pkgversion}-pytoml
%endif
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}-pytoml
Requires: python%{python3_pkgversion}-pyxdg
Requires: python%{python3_pkgversion}-requests
Provides: podman-py = %{version}-%{release}
@ -44,11 +30,7 @@ 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
%autosetup -Sgit_am -n podman-py-%{version}
%build
%py3_build
@ -63,13 +45,21 @@ Summary: %{summary}
%{python3_sitelib}/podman-*/*
%changelog
* Mon Oct 24 2022 Jindrich Novy <jnovy@redhat.com> - 4.2.1-1
- update to 4.2.1 release
- Resolves: #2132360
* Mon Feb 27 2023 Jindrich Novy <jnovy@redhat.com> - 4.4.1-1
- update to https://github.com/containers/podman-py/releases/tag/v4.4.1
- Related: #2123641
* 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: #2132360
* Wed Feb 15 2023 Jindrich Novy <jnovy@redhat.com> - 4.4.0-1
- update to python-podman-4.4.0
- Related: #2123641
* Mon Nov 07 2022 Jindrich Novy <jnovy@redhat.com> - 4.3.0-2
- upload new source tarball
- Related: #2123641
* Fri Oct 21 2022 Jindrich Novy <jnovy@redhat.com> - 4.3.0-1
- update to https://github.com/containers/podman-py/releases/tag/v4.3.0
- Related: #2123641
* Thu Aug 11 2022 Jindrich Novy <jnovy@redhat.com> - 4.2.0-1
- update to https://github.com/containers/podman-py/releases/tag/v4.2.0