|
|
@ -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
|
|
|
|
Epoch: 3
|
|
|
|
Version: 4.2.0
|
|
|
|
Name: python-podman
|
|
|
|
|
|
|
|
Version: 4.2.1
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: RESTful API for Podman
|
|
|
|
Summary: RESTful API for Podman
|
|
|
|
License: ASL 2.0
|
|
|
|
License: ASL 2.0
|
|
|
|
URL: https://github.com/containers/podman-py
|
|
|
|
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
|
|
|
|
Source0: %{url}/releases/download/v%{version}/podman-%{version}.tar.gz
|
|
|
|
|
|
|
|
%endif
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -24,10 +33,13 @@ Summary: %{summary}
|
|
|
|
%{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.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
|
|
|
|
%if 0%{?python_podman_branch:1}
|
|
|
|
|
|
|
|
%autosetup -Sgit_am -n podman-py-%{python_podman_commit0}
|
|
|
|
|
|
|
|
%else
|
|
|
|
%autosetup -Sgit_am -n podman-%{version}
|
|
|
|
%autosetup -Sgit_am -n podman-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%generate_buildrequires
|
|
|
|
%pyproject_buildrequires %{?with_tests:-t}
|
|
|
|
%pyproject_buildrequires %{?with_tests:-t}
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
export PBR_VERSION="0.0.0"
|
|
|
|
export PBR_VERSION="0.0.0"
|
|
|
@ -45,6 +57,18 @@ export PBR_VERSION="0.0.0"
|
|
|
|
%doc README.md
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%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
|
|
|
|
* 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
|
|
|
|
- update to https://github.com/containers/podman-py/releases/tag/v4.2.0
|
|
|
|
- Related: #2061316
|
|
|
|
- Related: #2061316
|
|
|
|