0c8e97
Name: python-podman
6f4e2d
Version: 4.2.0
6f4e2d
Release: 1%{?dist}
796ef7
Summary: RESTful API for Podman
796ef7
License: ASL 2.0
0c8e97
URL: https://github.com/containers/podman-py
0c8e97
Source0: %{url}/releases/download/v%{version}/podman-%{version}.tar.gz
796ef7
BuildArch: noarch
796ef7
0c8e97
%description
0c8e97
%{name} is a library of bindings to use the RESTful API for Podman.
796ef7
0c8e97
%package -n python%{python3_pkgversion}-podman
796ef7
BuildRequires: python%{python3_pkgversion}-devel
796ef7
BuildRequires: python%{python3_pkgversion}-rpm-macros
796ef7
%if 0%{?fedora} || 0%{?rhel} >= 9
796ef7
BuildRequires: python%{python3_pkgversion}-toml
796ef7
Requires: python%{python3_pkgversion}-toml
796ef7
%else
796ef7
BuildRequires: python%{python3_pkgversion}-pytoml
796ef7
Requires: python%{python3_pkgversion}-pytoml
796ef7
%endif
796ef7
BuildRequires: python%{python3_pkgversion}-pyxdg
796ef7
BuildRequires: python%{python3_pkgversion}-requests
796ef7
BuildRequires: python%{python3_pkgversion}-setuptools
796ef7
BuildRequires: git-core
6f4e2d
BuildRequires: python%{python3_pkgversion}-sphinx
796ef7
Requires: python%{python3_pkgversion}-pyxdg
796ef7
Requires: python%{python3_pkgversion}-requests
0c8e97
Provides: podman-py = %{version}-%{release}
796ef7
Summary: %{summary}
0c8e97
%{?python_provide:%python_provide python%{python3_pkgversion}-podman}
796ef7
0c8e97
%description -n python%{python3_pkgversion}-podman
0c8e97
%{name} is a library of bindings to use the RESTful API for Podman.
796ef7
796ef7
%prep
0c8e97
%autosetup -Sgit_am -n podman-%{version}
796ef7
796ef7
%build
796ef7
%py3_build
796ef7
796ef7
%install
796ef7
%py3_install
796ef7
796ef7
%files -n python3-podman
796ef7
%license LICENSE
796ef7
%doc README.md
796ef7
%{python3_sitelib}/podman/*
796ef7
%{python3_sitelib}/podman-*/*
796ef7
796ef7
%changelog
6f4e2d
* Thu Aug 11 2022 Jindrich Novy <jnovy@redhat.com> - 4.2.0-1
6f4e2d
- update to https://github.com/containers/podman-py/releases/tag/v4.2.0
6f4e2d
- Related: #2061390
6f4e2d
6f4e2d
* Mon Feb 28 2022 Lokesh Mandvekar <lsm5@redhat.com> - 4.0.0-1
6f4e2d
- bump to v4.0.0
6f4e2d
- Related: #2001445
6f4e2d
0c8e97
* Wed Sep 29 2021 Jindrich Novy <jnovy@redhat.com> - 3.2.1-4
0c8e97
- do not depend on pyproject-rpm-macros - not present in RHEL8
0c8e97
- Related: #2001445
0c8e97
796ef7
* Wed Jul 28 2021 Lokesh Mandvekar <lsm5@fedoraproject.org> - 3.2.0-2
796ef7
- depend on python3-requests
796ef7
- Resolves: #1978415 - initial upload to rhel
796ef7
796ef7
* Wed Jul 28 2021 Lokesh Mandvekar <lsm5@fedoraproject.org> - 3.2.0-1
796ef7
- Bump to v3.2.0
796ef7
796ef7
* Tue May 04 2021 Lokesh Mandvekar <lsm5@fedoraproject.org> - 3.1.2.4-1
796ef7
- Initial package
796ef7