import python-podman-3.2.1-4.module+el8.6.0+14131+b9baa4cc

This commit is contained in:
CentOS Sources 2022-03-29 07:24:39 -04:00 committed by Stepan Oksanichenko
parent 1369d6b964
commit ea2b2c1cac
3 changed files with 19 additions and 18 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/v3.2.0.tar.gz
SOURCES/podman-3.2.1.tar.gz

View File

@ -1 +1 @@
a40de700341bbd7785af30a0f72de1cae07a1161 SOURCES/v3.2.0.tar.gz
2d543f3e1f62e06ecedd144368c6112c3abc17ea SOURCES/podman-3.2.1.tar.gz

View File

@ -1,19 +1,16 @@
%global pypi_name podman
%global desc %{pypi_name} is a library of bindings to use the RESTful API for Podman.
Name: python-%{pypi_name}
Version: 3.2.0
Release: 2%{?dist}
Name: python-podman
Version: 3.2.1
Release: 4%{?dist}
Summary: RESTful API for Podman
License: ASL 2.0
URL: https://github.com/containers/%{pypi_name}-py
Source0: %{url}/archive/v%{version}.tar.gz
URL: https://github.com/containers/podman-py
Source0: %{url}/releases/download/v%{version}/podman-%{version}.tar.gz
BuildArch: noarch
%description
%desc
%description
%{name} is a library of bindings to use the RESTful API for Podman.
%package -n python%{python3_pkgversion}-%{pypi_name}
%package -n python%{python3_pkgversion}-podman
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-rpm-macros
%if 0%{?fedora} || 0%{?rhel} >= 9
@ -29,15 +26,15 @@ BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: git-core
Requires: python%{python3_pkgversion}-pyxdg
Requires: python%{python3_pkgversion}-requests
Provides: %{pypi_name}-py = %{version}-%{release}
Provides: podman-py = %{version}-%{release}
Summary: %{summary}
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
%{?python_provide:%python_provide python%{python3_pkgversion}-podman}
%description -n python%{python3_pkgversion}-%{pypi_name}
%desc
%description -n python%{python3_pkgversion}-podman
%{name} is a library of bindings to use the RESTful API for Podman.
%prep
%autosetup -Sgit_am -n %{pypi_name}-py-%{version}
%autosetup -Sgit_am -n podman-%{version}
%build
%py3_build
@ -52,6 +49,10 @@ Summary: %{summary}
%{python3_sitelib}/podman-*/*
%changelog
* Wed Sep 29 2021 Jindrich Novy <jnovy@redhat.com> - 3.2.1-4
- do not depend on pyproject-rpm-macros - not present in RHEL8
- Related: #2001445
* Wed Jul 28 2021 Lokesh Mandvekar <lsm5@fedoraproject.org> - 3.2.0-2
- depend on python3-requests
- Resolves: #1978415 - initial upload to rhel