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