From 41dcbd8875a1ea59279f5521ec9ef31dc9c0560f Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 17 May 2022 04:41:21 -0400 Subject: [PATCH] import python-podman-4.0.0-1.el9 --- .gitignore | 1 + .python-podman.metadata | 1 + SPECS/python-podman.spec | 61 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 63 insertions(+) create mode 100644 .gitignore create mode 100644 .python-podman.metadata create mode 100644 SPECS/python-podman.spec 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/.python-podman.metadata b/.python-podman.metadata new file mode 100644 index 0000000..a378747 --- /dev/null +++ b/.python-podman.metadata @@ -0,0 +1 @@ +30c16c01a9dcafb0077f83c854c027190891336f SOURCES/podman-4.0.0.tar.gz diff --git a/SPECS/python-podman.spec b/SPECS/python-podman.spec new file mode 100644 index 0000000..adb2399 --- /dev/null +++ b/SPECS/python-podman.spec @@ -0,0 +1,61 @@ +Name: python-podman +Epoch: 3 +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: pyproject-rpm-macros +BuildRequires: python3-devel +BuildRequires: git-core +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} + +%generate_buildrequires +%pyproject_buildrequires %{?with_tests:-t} + +%build +export PBR_VERSION="0.0.0" +%pyproject_wheel + +%install +export PBR_VERSION="0.0.0" +%pyproject_install +%pyproject_save_files podman + +%check + +%files -n python%{python3_pkgversion}-podman -f %{pyproject_files} +%license LICENSE +%doc README.md + +%changelog +* Mon Feb 28 2022 Lokesh Mandvekar - 3:4.0.0-1 +- bump to v4.0.0 +- Related: #2000051 + +* Fri Oct 01 2021 Jindrich Novy - 3:3.2.1-3 +- perform only sanity/installability tests for now +- Related: #2000051 + +* Wed Sep 29 2021 Jindrich Novy - 3:3.2.1-2 +- rebuilt +- Related: #2000051 + +* Mon Sep 27 2021 Jindrich Novy - 3:3.2.1-1 +- import to c9s +- Related: #2000051