Remove extraneous dependencies

%pyproject_buildrequires already handles requests.  toml is obsolete;
tomli is required only for python<3.11 (RHEL 9 at this point).
This commit is contained in:
Yaakov Selkowitz 2023-06-30 01:06:45 -04:00
parent a09d146883
commit d230191b31

View File

@ -24,10 +24,6 @@ BuildArch: noarch
BuildRequires: git-core BuildRequires: git-core
BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: pyproject-rpm-macros BuildRequires: pyproject-rpm-macros
BuildRequires: python%{python3_pkgversion}-requests
BuildRequires: python%{python3_pkgversion}-toml
Requires: python%{python3_pkgversion}-requests
Requires: python%{python3_pkgversion}-toml
Provides: %{pypi_name}-py = %{version}-%{release} Provides: %{pypi_name}-py = %{version}-%{release}
Provides: python%{python3_pkgversion}dist(%{pypi_name}) = %{pypi_dist} Provides: python%{python3_pkgversion}dist(%{pypi_name}) = %{pypi_dist}
Provides: python%{python3_version}dist(%{pypi_name}) = %{pypi_dist} Provides: python%{python3_version}dist(%{pypi_name}) = %{pypi_dist}