|
|
|
@ -1,36 +1,44 @@
|
|
|
|
|
Name: python-podman
|
|
|
|
|
Version: 4.4.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
%global pypi_name podman
|
|
|
|
|
%global desc %{pypi_name} is a library of bindings to use the RESTful API for Podman.
|
|
|
|
|
|
|
|
|
|
Name: python-%{pypi_name}
|
|
|
|
|
Version: 3.2.0
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Summary: RESTful API for Podman
|
|
|
|
|
License: ASL 2.0
|
|
|
|
|
URL: https://github.com/containers/podman-py
|
|
|
|
|
Source0: https://github.com/containers/podman-py/archive/refs/tags/v%{version}.tar.gz
|
|
|
|
|
URL: https://github.com/containers/%{pypi_name}-py
|
|
|
|
|
Source0: %{url}/archive/v%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
%{name} is a library of bindings to use the RESTful API for Podman.
|
|
|
|
|
%desc
|
|
|
|
|
|
|
|
|
|
%package -n python%{python3_pkgversion}-podman
|
|
|
|
|
%package -n python%{python3_pkgversion}-%{pypi_name}
|
|
|
|
|
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
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-sphinx
|
|
|
|
|
Requires: python%{python3_pkgversion}-pytoml
|
|
|
|
|
Requires: python%{python3_pkgversion}-pyxdg
|
|
|
|
|
Requires: python%{python3_pkgversion}-requests
|
|
|
|
|
Provides: podman-py = %{version}-%{release}
|
|
|
|
|
Provides: %{pypi_name}-py = %{version}-%{release}
|
|
|
|
|
Provides: python-%{pypi_name} = %{version}-%{release}
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
%{?python_provide:%python_provide python%{python3_pkgversion}-podman}
|
|
|
|
|
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
|
|
|
|
|
|
|
|
|
|
%description -n python%{python3_pkgversion}-podman
|
|
|
|
|
%{name} is a library of bindings to use the RESTful API for Podman.
|
|
|
|
|
%description -n python%{python3_pkgversion}-%{pypi_name}
|
|
|
|
|
%desc
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -Sgit_am -n podman-py-%{version}
|
|
|
|
|
%autosetup -Sgit_am -n %{pypi_name}-py-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py3_build
|
|
|
|
@ -45,33 +53,13 @@ Summary: %{summary}
|
|
|
|
|
%{python3_sitelib}/podman-*/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Feb 27 2023 Jindrich Novy <jnovy@redhat.com> - 4.4.1-1
|
|
|
|
|
- update to https://github.com/containers/podman-py/releases/tag/v4.4.1
|
|
|
|
|
- Related: #2123641
|
|
|
|
|
|
|
|
|
|
* Wed Feb 15 2023 Jindrich Novy <jnovy@redhat.com> - 4.4.0-1
|
|
|
|
|
- update to python-podman-4.4.0
|
|
|
|
|
- Related: #2123641
|
|
|
|
|
|
|
|
|
|
* Mon Nov 07 2022 Jindrich Novy <jnovy@redhat.com> - 4.3.0-2
|
|
|
|
|
- upload new source tarball
|
|
|
|
|
- Related: #2123641
|
|
|
|
|
|
|
|
|
|
* Fri Oct 21 2022 Jindrich Novy <jnovy@redhat.com> - 4.3.0-1
|
|
|
|
|
- update to https://github.com/containers/podman-py/releases/tag/v4.3.0
|
|
|
|
|
- Related: #2123641
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
* Mon Aug 23 2021 Lokesh Mandvekar <lsm5@fedoraproject.org> - 3.2.0-4
|
|
|
|
|
- Provides: python-podman
|
|
|
|
|
- Related: #1995211
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
* Wed Aug 11 2021 Jindrich Novy <jnovy@redhat.com> - 3.2.0-3
|
|
|
|
|
- initial import into CentOS Stream
|
|
|
|
|
- Related: #1970747
|
|
|
|
|
|
|
|
|
|
* Wed Jul 28 2021 Lokesh Mandvekar <lsm5@fedoraproject.org> - 3.2.0-2
|
|
|
|
|
- depend on python3-requests
|
|
|
|
|