From c93757fe87c64aec8a9647937d7648baea9994a1 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 28 Apr 2020 04:55:30 -0400 Subject: [PATCH] import python-podman-api-1.2.0-0.2.gitd0a45fe.module+el8.2.0+5201+6b31f0d9 --- .gitignore | 1 + .python-podman-api.metadata | 1 + SPECS/python-podman-api.spec | 52 ++++++++++++++++++++++++++++++++++++ 3 files changed, 54 insertions(+) create mode 100644 .gitignore create mode 100644 .python-podman-api.metadata create mode 100644 SPECS/python-podman-api.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8b7369a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/python-podman-d0a45fe.tar.gz diff --git a/.python-podman-api.metadata b/.python-podman-api.metadata new file mode 100644 index 0000000..3b0441d --- /dev/null +++ b/.python-podman-api.metadata @@ -0,0 +1 @@ +3833087a50480db1308cbb0f612802a5a974cdb0 SOURCES/python-podman-d0a45fe.tar.gz diff --git a/SPECS/python-podman-api.spec b/SPECS/python-podman-api.spec new file mode 100644 index 0000000..e9af98c --- /dev/null +++ b/SPECS/python-podman-api.spec @@ -0,0 +1,52 @@ +%global modname podman +%global distname podman-api +%global eggname podman_api + +# https://github.com/containers/python-podman +%global git0 https://github.com/containers/python-%{modname} +%global commit0 d0a45fea27f3c1b1c481b05e1531adc168f1881e +%global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) + + +Name: python-%{distname} +Version: 1.2.0 +Release: 0.2.git%{shortcommit0}%{?dist} +Summary: Podman API +License: LGPLv2 +URL: %{git0} +Source0: %{git0}/archive/%{commit0}/python-%{modname}-%{shortcommit0}.tar.gz +BuildArch: noarch +BuildRequires: python-rpm-macros +BuildRequires: python3-dateutil +BuildRequires: python3-setuptools +Requires: python3-psutil +Provides: python3-%{distname} = %{version}-%{release} + +%description +%{summary} + +%prep +%setup -q -n python-%{modname}-%{commit0} + +%build +%py3_build + +%install +%py3_install + +%check + +%files +%license LICENSE +%{python3_sitelib}/%{modname}/* +%{python3_sitelib}/%{modname}-*.egg-info/* + +%changelog +* Thu Dec 12 2019 Jindrich Novy - 1.2.0-0.2.gitd0a45fe +- revert update to 1.6.0 due to new python3-pbr dependency which + is not in RHEL +- Related: RHELPLAN-25139 + +* Wed May 15 2019 Lokesh Mandvekar - 1.2.0-0.1.gitd0a45fe +- Initial package +