commit da71fe2c54032831ef0576b9d2dbc9271b947eb3 Author: James Antill Date: Mon Feb 20 01:56:11 2023 -0500 Import rpm: ff312ca6feb42aafe4e465a5d6b228a4eff2515b 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/README.md b/README.md new file mode 100644 index 0000000..6864e7c --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# python-podman-api + +The python-podman-api package \ No newline at end of file diff --git a/python-podman-api.spec b/python-podman-api.spec new file mode 100644 index 0000000..e9af98c --- /dev/null +++ b/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 + diff --git a/sources b/sources new file mode 100644 index 0000000..35687bf --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA1 (python-podman-d0a45fe.tar.gz) = 3833087a50480db1308cbb0f612802a5a974cdb0