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}}