|
|
|
@ -1,30 +1,20 @@
|
|
|
|
|
%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
|
|
|
|
|
Name: python-podman
|
|
|
|
|
Version: 4.2.1
|
|
|
|
|
Epoch: 3
|
|
|
|
|
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
|
|
|
|
|
%{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
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: git-core
|
|
|
|
|
BuildRequires: python3-sphinx
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
|
|
BuildRequires: pyproject-rpm-macros
|
|
|
|
|
Provides: podman-py = %{version}-%{release}
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
%{?python_provide:%python_provide python%{python3_pkgversion}-podman}
|
|
|
|
@ -33,13 +23,10 @@ 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}
|
|
|
|
|
%autosetup -Sgit_am -n podman-py-%{version}
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%pyproject_buildrequires %{?with_tests:-t}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
export PBR_VERSION="0.0.0"
|
|
|
|
@ -57,17 +44,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 Feb 23 2023 Jindrich Novy <jnovy@redhat.com> - 3:4.4.1-1
|
|
|
|
|
- update to https://github.com/containers/podman-py/releases/tag/v4.4.1
|
|
|
|
|
- Related: #2124478
|
|
|
|
|
|
|
|
|
|
* Wed Feb 15 2023 Jindrich Novy <jnovy@redhat.com> - 3:4.4.0-1
|
|
|
|
|
- update to 4.4.0
|
|
|
|
|
- (and revert the unneeded upstream python-tomli dependency)
|
|
|
|
|
- Related: #2124478
|
|
|
|
|
|
|
|
|
|
* Mon Oct 24 2022 Jindrich Novy <jnovy@redhat.com> - 3:4.3.0-1
|
|
|
|
|
- update to 4.3.0
|
|
|
|
|
- Related: #2124478
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|