diff --git a/.gitignore b/.gitignore index 5f9a6c5..30bf711 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/v3.2.0.tar.gz +SOURCES/podman-3.2.1.tar.gz diff --git a/.python-podman.metadata b/.python-podman.metadata index 33ac272..578b58e 100644 --- a/.python-podman.metadata +++ b/.python-podman.metadata @@ -1 +1 @@ -a40de700341bbd7785af30a0f72de1cae07a1161 SOURCES/v3.2.0.tar.gz +2d543f3e1f62e06ecedd144368c6112c3abc17ea SOURCES/podman-3.2.1.tar.gz diff --git a/SPECS/python-podman.spec b/SPECS/python-podman.spec index 6c9ebef..1f936f8 100644 --- a/SPECS/python-podman.spec +++ b/SPECS/python-podman.spec @@ -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 - 3.2.1-4 +- do not depend on pyproject-rpm-macros - not present in RHEL8 +- Related: #2001445 + * Wed Jul 28 2021 Lokesh Mandvekar - 3.2.0-2 - depend on python3-requests - Resolves: #1978415 - initial upload to rhel