From 63d70b9263fd44b7c7b902f077532860b988f55b Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Wed, 9 Mar 2022 15:13:51 -0500 Subject: [PATCH] adjust toml dep for f35 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 771701f..9e2f964 100644 --- a/python-podman.spec +++ b/python-podman.spec @@ -21,7 +21,6 @@ BuildArch: noarch %package -n python%{python3_pkgversion}-%{pypi_name} BuildRequires: git-core BuildRequires: python%{python3_pkgversion}-devel -# Handle rhel/centos 8 stream conditionals for podman4 copr %if 0%{?rhel} <= 8 BuildRequires: python%{python3_pkgversion}-pytoml BuildRequires: python%{python3_pkgversion}-pyxdg @@ -33,6 +32,10 @@ Requires: python%{python3_pkgversion}-requests %else BuildRequires: pyproject-rpm-macros %endif +%if 0%{?fedora} == 35 +BuildRequires: python%{python3_pkgversion}-toml +Requires: python%{python3_pkgversion}-toml +%endif Provides: %{pypi_name}-py = %{version}-%{release} Summary: %{summary} %{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}