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