diff --git a/.gitignore b/.gitignore index e69de29..dafa321 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/*.tar.* diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..e49fcf1 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,7 @@ +# recipients: jnovy, lsm5, santiago +--- !Policy +product_versions: + - rhel-9 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/python-podman.spec b/python-podman.spec new file mode 100644 index 0000000..a5ead88 --- /dev/null +++ b/python-podman.spec @@ -0,0 +1,49 @@ +Name: python-podman +Epoch: 3 +Version: 3.2.1 +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 Sep 27 2021 Jindrich Novy - 3:3.2.1-1 +- import to c9s +- Related: #2000051 diff --git a/sources b/sources new file mode 100644 index 0000000..c273176 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (podman-3.2.1.tar.gz) = c14e66b260b6d7a5b4fdf70d0c3151a0a383c38479d39433d7565fb9868207f13a3da3351d346e55c6601876ff2114b77d3aea3a48d8f4fcec63f0a338eb594a