2022-03-29 11:24:39 +00:00
|
|
|
Name: python-podman
|
2022-09-27 09:53:03 +00:00
|
|
|
Version: 4.2.0
|
|
|
|
Release: 1%{?dist}
|
2021-10-06 03:58:56 +00:00
|
|
|
Summary: RESTful API for Podman
|
|
|
|
License: ASL 2.0
|
2022-03-29 11:24:39 +00:00
|
|
|
URL: https://github.com/containers/podman-py
|
|
|
|
Source0: %{url}/releases/download/v%{version}/podman-%{version}.tar.gz
|
2021-10-06 03:58:56 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
2022-03-29 11:24:39 +00:00
|
|
|
%description
|
|
|
|
%{name} is a library of bindings to use the RESTful API for Podman.
|
2021-10-06 03:58:56 +00:00
|
|
|
|
2022-03-29 11:24:39 +00:00
|
|
|
%package -n python%{python3_pkgversion}-podman
|
2021-10-06 03:58:56 +00:00
|
|
|
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
|
2022-09-27 09:53:03 +00:00
|
|
|
BuildRequires: python%{python3_pkgversion}-sphinx
|
2021-10-06 03:58:56 +00:00
|
|
|
Requires: python%{python3_pkgversion}-pyxdg
|
|
|
|
Requires: python%{python3_pkgversion}-requests
|
2022-03-29 11:24:39 +00:00
|
|
|
Provides: podman-py = %{version}-%{release}
|
2021-10-06 03:58:56 +00:00
|
|
|
Summary: %{summary}
|
2022-03-29 11:24:39 +00:00
|
|
|
%{?python_provide:%python_provide python%{python3_pkgversion}-podman}
|
2021-10-06 03:58:56 +00:00
|
|
|
|
2022-03-29 11:24:39 +00:00
|
|
|
%description -n python%{python3_pkgversion}-podman
|
|
|
|
%{name} is a library of bindings to use the RESTful API for Podman.
|
2021-10-06 03:58:56 +00:00
|
|
|
|
|
|
|
%prep
|
2022-03-29 11:24:39 +00:00
|
|
|
%autosetup -Sgit_am -n podman-%{version}
|
2021-10-06 03:58:56 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
%files -n python3-podman
|
|
|
|
%license LICENSE
|
|
|
|
%doc README.md
|
|
|
|
%{python3_sitelib}/podman/*
|
|
|
|
%{python3_sitelib}/podman-*/*
|
|
|
|
|
|
|
|
%changelog
|
2022-09-27 09:53:03 +00:00
|
|
|
* 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
|
|
|
|
- Related: #2061390
|
|
|
|
|
|
|
|
* Mon Feb 28 2022 Lokesh Mandvekar <lsm5@redhat.com> - 4.0.0-1
|
|
|
|
- bump to v4.0.0
|
|
|
|
- Related: #2001445
|
|
|
|
|
2022-03-29 11:24:39 +00:00
|
|
|
* Wed Sep 29 2021 Jindrich Novy <jnovy@redhat.com> - 3.2.1-4
|
|
|
|
- do not depend on pyproject-rpm-macros - not present in RHEL8
|
|
|
|
- Related: #2001445
|
|
|
|
|
2021-10-06 03:58:56 +00:00
|
|
|
* Wed Jul 28 2021 Lokesh Mandvekar <lsm5@fedoraproject.org> - 3.2.0-2
|
|
|
|
- depend on python3-requests
|
|
|
|
- Resolves: #1978415 - initial upload to rhel
|
|
|
|
|
|
|
|
* Wed Jul 28 2021 Lokesh Mandvekar <lsm5@fedoraproject.org> - 3.2.0-1
|
|
|
|
- Bump to v3.2.0
|
|
|
|
|
|
|
|
* Tue May 04 2021 Lokesh Mandvekar <lsm5@fedoraproject.org> - 3.1.2.4-1
|
|
|
|
- Initial package
|
|
|
|
|