commit 3ed03ae2f437691938b0f30053a6576847f35cff Author: James Antill Date: Mon Aug 8 12:27:34 2022 -0400 Import rpm: 6a477b18bb956e9912bf8ebf36fd98208d06addd diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3ccffc6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/podman-4.0.0.tar.gz diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..dfc23d3 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +# recipients: jnovy, lsm5, santiago +--- !Policy +product_versions: + - rhel-9 +decision_context: osci_compose_gate +rules: [] diff --git a/python-podman.spec b/python-podman.spec new file mode 100644 index 0000000..9c97676 --- /dev/null +++ b/python-podman.spec @@ -0,0 +1,69 @@ +Name: python-podman +Version: 4.0.0 +Release: 1%{?dist} +Summary: RESTful API for Podman +License: ASL 2.0 +URL: https://github.com/containers/podman-py +Source0: %{url}/releases/download/v%{version}/podman-%{version}.tar.gz +BuildArch: noarch + +%description +%{name} is a library of bindings to use the RESTful API for Podman. + +%package -n python%{python3_pkgversion}-podman +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: podman-py = %{version}-%{release} +Summary: %{summary} +%{?python_provide:%python_provide python%{python3_pkgversion}-podman} + +%description -n python%{python3_pkgversion}-podman +%{name} is a library of bindings to use the RESTful API for Podman. + +%prep +%autosetup -Sgit_am -n podman-%{version} + +%build +%py3_build + +%install +%py3_install + +%files -n python3-podman +%license LICENSE +%doc README.md +%{python3_sitelib}/podman/* +%{python3_sitelib}/podman-*/* + +%changelog +* Mon Feb 28 2022 Lokesh Mandvekar - 4.0.0-1 +- bump to v4.0.0 +- Related: #2001445 + +* Wed Sep 29 2021 Jindrich Novy - 3.2.1-4 +- do not depend on pyproject-rpm-macros - not present in RHEL8 +- Related: #2001445 + +* 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 + diff --git a/sources b/sources new file mode 100644 index 0000000..c6cd66f --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA1 (podman-4.0.0.tar.gz) = 30c16c01a9dcafb0077f83c854c027190891336f