import python-podman-3.2.1-4.module+el8.6.0+12784+f89ff819

This commit is contained in:
CentOS Sources 2021-10-19 04:39:12 +00:00 committed by Stepan Oksanichenko
parent 5c382824ba
commit 588984e18c
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 Name: python-podman
%global desc %{pypi_name} is a library of bindings to use the RESTful API for Podman. Version: 3.2.1
Release: 4%{?dist}
Name: python-%{pypi_name}
Version: 3.2.0
Release: 2%{?dist}
Summary: RESTful API for Podman Summary: RESTful API for Podman
License: ASL 2.0 License: ASL 2.0
URL: https://github.com/containers/%{pypi_name}-py URL: https://github.com/containers/podman-py
Source0: %{url}/archive/v%{version}.tar.gz Source0: %{url}/releases/download/v%{version}/podman-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
%description %description
%desc %{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}-devel
BuildRequires: python%{python3_pkgversion}-rpm-macros BuildRequires: python%{python3_pkgversion}-rpm-macros
%if 0%{?fedora} || 0%{?rhel} >= 9 %if 0%{?fedora} || 0%{?rhel} >= 9
@ -29,15 +26,15 @@ BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: git-core BuildRequires: git-core
Requires: python%{python3_pkgversion}-pyxdg Requires: python%{python3_pkgversion}-pyxdg
Requires: python%{python3_pkgversion}-requests Requires: python%{python3_pkgversion}-requests
Provides: %{pypi_name}-py = %{version}-%{release} Provides: podman-py = %{version}-%{release}
Summary: %{summary} 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} %description -n python%{python3_pkgversion}-podman
%desc %{name} is a library of bindings to use the RESTful API for Podman.
%prep %prep
%autosetup -Sgit_am -n %{pypi_name}-py-%{version} %autosetup -Sgit_am -n podman-%{version}
%build %build
%py3_build %py3_build
@ -52,6 +49,10 @@ Summary: %{summary}
%{python3_sitelib}/podman-*/* %{python3_sitelib}/podman-*/*
%changelog %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 * Wed Jul 28 2021 Lokesh Mandvekar <lsm5@fedoraproject.org> - 3.2.0-2
- depend on python3-requests - depend on python3-requests
- Resolves: #1978415 - initial upload to rhel - Resolves: #1978415 - initial upload to rhel