|
|
bef526 |
%global pypi_name podman
|
|
|
bef526 |
%global desc %{pypi_name} is a library of bindings to use the RESTful API for Podman.
|
|
|
bef526 |
|
|
|
bef526 |
Name: python-%{pypi_name}
|
|
|
bef526 |
Version: 3.2.0
|
|
|
bef526 |
Release: 2%{?dist}
|
|
|
bef526 |
Summary: RESTful API for Podman
|
|
|
bef526 |
License: ASL 2.0
|
|
|
bef526 |
URL: https://github.com/containers/%{pypi_name}-py
|
|
|
bef526 |
Source0: %{url}/archive/v%{version}.tar.gz
|
|
|
bef526 |
BuildArch: noarch
|
|
|
bef526 |
|
|
|
bef526 |
%description
|
|
|
bef526 |
%desc
|
|
|
bef526 |
|
|
|
bef526 |
%package -n python%{python3_pkgversion}-%{pypi_name}
|
|
|
bef526 |
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
bef526 |
BuildRequires: python%{python3_pkgversion}-rpm-macros
|
|
|
bef526 |
%if 0%{?fedora} || 0%{?rhel} >= 9
|
|
|
bef526 |
BuildRequires: python%{python3_pkgversion}-toml
|
|
|
bef526 |
Requires: python%{python3_pkgversion}-toml
|
|
|
bef526 |
%else
|
|
|
bef526 |
BuildRequires: python%{python3_pkgversion}-pytoml
|
|
|
bef526 |
Requires: python%{python3_pkgversion}-pytoml
|
|
|
bef526 |
%endif
|
|
|
bef526 |
BuildRequires: python%{python3_pkgversion}-pyxdg
|
|
|
bef526 |
BuildRequires: python%{python3_pkgversion}-requests
|
|
|
bef526 |
BuildRequires: python%{python3_pkgversion}-setuptools
|
|
|
bef526 |
BuildRequires: git-core
|
|
|
bef526 |
Requires: python%{python3_pkgversion}-pyxdg
|
|
|
bef526 |
Requires: python%{python3_pkgversion}-requests
|
|
|
bef526 |
Provides: %{pypi_name}-py = %{version}-%{release}
|
|
|
bef526 |
Summary: %{summary}
|
|
|
bef526 |
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
|
|
|
bef526 |
|
|
|
bef526 |
%description -n python%{python3_pkgversion}-%{pypi_name}
|
|
|
bef526 |
%desc
|
|
|
bef526 |
|
|
|
bef526 |
%prep
|
|
|
bef526 |
%autosetup -Sgit_am -n %{pypi_name}-py-%{version}
|
|
|
bef526 |
|
|
|
bef526 |
%build
|
|
|
bef526 |
%py3_build
|
|
|
bef526 |
|
|
|
bef526 |
%install
|
|
|
bef526 |
%py3_install
|
|
|
bef526 |
|
|
|
bef526 |
%files -n python3-podman
|
|
|
bef526 |
%license LICENSE
|
|
|
bef526 |
%doc README.md
|
|
|
bef526 |
%{python3_sitelib}/podman/*
|
|
|
bef526 |
%{python3_sitelib}/podman-*/*
|
|
|
bef526 |
|
|
|
bef526 |
%changelog
|
|
|
bef526 |
* Wed Jul 28 2021 Lokesh Mandvekar <lsm5@fedoraproject.org> - 3.2.0-2
|
|
|
bef526 |
- depend on python3-requests
|
|
|
bef526 |
- Resolves: #1978415 - initial upload to rhel
|
|
|
bef526 |
|
|
|
bef526 |
* Wed Jul 28 2021 Lokesh Mandvekar <lsm5@fedoraproject.org> - 3.2.0-1
|
|
|
bef526 |
- Bump to v3.2.0
|
|
|
bef526 |
|
|
|
bef526 |
* Tue May 04 2021 Lokesh Mandvekar <lsm5@fedoraproject.org> - 3.1.2.4-1
|
|
|
bef526 |
- Initial package
|
|
|
bef526 |
|