adjust toml dep for f35
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
parent
3811bf759d
commit
63d70b9263
@ -21,7 +21,6 @@ BuildArch: noarch
|
|||||||
%package -n python%{python3_pkgversion}-%{pypi_name}
|
%package -n python%{python3_pkgversion}-%{pypi_name}
|
||||||
BuildRequires: git-core
|
BuildRequires: git-core
|
||||||
BuildRequires: python%{python3_pkgversion}-devel
|
BuildRequires: python%{python3_pkgversion}-devel
|
||||||
# Handle rhel/centos 8 stream conditionals for podman4 copr
|
|
||||||
%if 0%{?rhel} <= 8
|
%if 0%{?rhel} <= 8
|
||||||
BuildRequires: python%{python3_pkgversion}-pytoml
|
BuildRequires: python%{python3_pkgversion}-pytoml
|
||||||
BuildRequires: python%{python3_pkgversion}-pyxdg
|
BuildRequires: python%{python3_pkgversion}-pyxdg
|
||||||
@ -33,6 +32,10 @@ Requires: python%{python3_pkgversion}-requests
|
|||||||
%else
|
%else
|
||||||
BuildRequires: pyproject-rpm-macros
|
BuildRequires: pyproject-rpm-macros
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{?fedora} == 35
|
||||||
|
BuildRequires: python%{python3_pkgversion}-toml
|
||||||
|
Requires: python%{python3_pkgversion}-toml
|
||||||
|
%endif
|
||||||
Provides: %{pypi_name}-py = %{version}-%{release}
|
Provides: %{pypi_name}-py = %{version}-%{release}
|
||||||
Summary: %{summary}
|
Summary: %{summary}
|
||||||
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
|
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
|
||||||
|
Loading…
Reference in New Issue
Block a user