|
|
d57f3d |
%global pypi_name podman
|
|
|
d57f3d |
%global desc %{pypi_name} is a library of bindings to use the RESTful API for Podman.
|
|
|
d57f3d |
|
|
|
d57f3d |
Name: python-%{pypi_name}
|
|
|
d57f3d |
Version: 3.2.0
|
|
|
d57f3d |
Release: 2%{?dist}
|
|
|
d57f3d |
Summary: RESTful API for Podman
|
|
|
d57f3d |
License: ASL 2.0
|
|
|
d57f3d |
URL: https://github.com/containers/%{pypi_name}-py
|
|
|
d57f3d |
Source0: %{url}/archive/v%{version}.tar.gz
|
|
|
d57f3d |
BuildArch: noarch
|
|
|
d57f3d |
|
|
|
d57f3d |
%description
|
|
|
d57f3d |
%desc
|
|
|
d57f3d |
|
|
|
d57f3d |
%package -n python%{python3_pkgversion}-%{pypi_name}
|
|
|
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
|
|
|
d57f3d |
Provides: %{pypi_name}-py = %{version}-%{release}
|
|
|
d57f3d |
Summary: %{summary}
|
|
|
d57f3d |
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
|
|
|
d57f3d |
|
|
|
d57f3d |
%description -n python%{python3_pkgversion}-%{pypi_name}
|
|
|
d57f3d |
%desc
|
|
|
d57f3d |
|
|
|
d57f3d |
%prep
|
|
|
d57f3d |
%autosetup -Sgit_am -n %{pypi_name}-py-%{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
|
|
|
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 |
|