Also handle debian installation message annoyance

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
Lokesh Mandvekar 2022-09-09 09:15:58 -04:00
parent 79915c03ce
commit 1c5bdc1827

View File

@ -5,13 +5,14 @@
%global pypi_name podman %global pypi_name podman
%global desc %{pypi_name} is a library of bindings to use the RESTful API for 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 %global built_tag_strip 4.2.0
Name: python-%{pypi_name} Name: python-%{pypi_name}
Epoch: 3 Epoch: 3
Version: 4.2.0 Version: 4.2.0
%if "%{_vendor}" == "debbuild" %if "%{_vendor}" == "debbuild"
Maintainer: Lokesh Mandvekar <lsm5@fedoraproject.org> Packager: Podman Debbuild Maintainers <https://github.com/orgs/containers/teams/podman-debbuild-maintainers>
License: ASL-2.0 License: ASL-2.0
Release: 0%{?dist} Release: 0%{?dist}
%else %else
@ -57,6 +58,8 @@ Requires: python%{python3_pkgversion}-toml
%endif %endif
%endif %endif
Provides: %{pypi_name}-py = %{version}-%{release} 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} Summary: %{summary}
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}} %{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}