adjust dependencies

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
Lokesh Mandvekar 2022-06-14 09:22:34 -04:00
parent 3036f23408
commit fe12e88581

View File

@ -38,13 +38,18 @@ BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-pytoml
BuildRequires: python%{python3_pkgversion}-requests
BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: python%{python3_pkgversion}-xdg
Requires: python%{python3_pkgversion}-pytoml
Requires: python%{python3_pkgversion}-requests
Requires: python%{python3_pkgversion}-xdg
%else
BuildRequires: pyproject-rpm-macros
%endif
%if %{_vendor} == "debbuild"
BuildRequires: python%{python3_pkgversion}-xdg
Requires: python%{python3_pkgversion}-xdg
%else %if 0%{?centos} <= 8
BuildRequires: python%{python3_pkgversion}-pyxdg
Requires: python%{python3_pkgversion}-pyxdg
%endif
%if 0%{?fedora} == 35
BuildRequires: python%{python3_pkgversion}-toml
Requires: python%{python3_pkgversion}-toml