From 1c5bdc18274958b99baccc81ab01c87f97f83f72 Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Fri, 9 Sep 2022 09:15:58 -0400 Subject: [PATCH] Resolves: #2120337 Also handle debian installation message annoyance Signed-off-by: Lokesh Mandvekar --- python-podman.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-podman.spec b/python-podman.spec index f4df5d2..be7c1c9 100644 --- a/python-podman.spec +++ b/python-podman.spec @@ -5,13 +5,14 @@ %global pypi_name podman %global desc %{pypi_name} is a library of bindings to use the RESTful API for Podman. +%global pypi_dist 4 %global built_tag_strip 4.2.0 Name: python-%{pypi_name} Epoch: 3 Version: 4.2.0 %if "%{_vendor}" == "debbuild" -Maintainer: Lokesh Mandvekar +Packager: Podman Debbuild Maintainers License: ASL-2.0 Release: 0%{?dist} %else @@ -57,6 +58,8 @@ Requires: python%{python3_pkgversion}-toml %endif %endif Provides: %{pypi_name}-py = %{version}-%{release} +Provides: python%{python3_pkgversion}dist(%{pypi_name}) = %{pypi_dist} +Provides: python%{python3_version}dist(%{pypi_name}) = %{pypi_dist} Summary: %{summary} %{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}