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