commit 1e3232f8b75cb36b3ea184188573bdc9f5a442a5 Author: CentOS Sources Date: Wed Nov 3 08:15:03 2021 -0400 import python-podman-3.2.0-4.module+el9.0.0+12467+378c8264 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5f9a6c5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/v3.2.0.tar.gz diff --git a/.python-podman.metadata b/.python-podman.metadata new file mode 100644 index 0000000..33ac272 --- /dev/null +++ b/.python-podman.metadata @@ -0,0 +1 @@ +a40de700341bbd7785af30a0f72de1cae07a1161 SOURCES/v3.2.0.tar.gz diff --git a/SPECS/python-podman.spec b/SPECS/python-podman.spec new file mode 100644 index 0000000..4ae7fa7 --- /dev/null +++ b/SPECS/python-podman.spec @@ -0,0 +1,73 @@ +%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/%{pypi_name}-py +Source0: %{url}/archive/v%{version}.tar.gz +BuildArch: noarch + +%description +%desc + +%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 +Requires: python%{python3_pkgversion}-pyxdg +Requires: python%{python3_pkgversion}-requests +Provides: %{pypi_name}-py = %{version}-%{release} +Provides: python-%{pypi_name} = %{version}-%{release} +Summary: %{summary} +%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}} + +%description -n python%{python3_pkgversion}-%{pypi_name} +%desc + +%prep +%autosetup -Sgit_am -n %{pypi_name}-py-%{version} + +%build +%py3_build + +%install +%py3_install + +%files -n python3-podman +%license LICENSE +%doc README.md +%{python3_sitelib}/podman/* +%{python3_sitelib}/podman-*/* + +%changelog +* Mon Aug 23 2021 Lokesh Mandvekar - 3.2.0-4 +- Provides: python-podman +- Related: #1995211 + +* Wed Aug 11 2021 Jindrich Novy - 3.2.0-3 +- initial import into CentOS Stream +- Related: #1970747 + +* Wed Jul 28 2021 Lokesh Mandvekar - 3.2.0-2 +- depend on python3-requests +- Resolves: #1978415 - initial upload to rhel + +* Wed Jul 28 2021 Lokesh Mandvekar - 3.2.0-1 +- Bump to v3.2.0 + +* Tue May 04 2021 Lokesh Mandvekar - 3.1.2.4-1 +- Initial package +