Remove bogus dependency restriction on rust-packaging

This commit is contained in:
Fabio Valentini 2023-03-01 22:25:34 +00:00 committed by Maxwell G
parent bd63adcddf
commit 426db44b27
No known key found for this signature in database
GPG Key ID: F79E4E25E8C661F8

View File

@ -21,7 +21,7 @@ BuildRequires: python3dist(semantic-version) >= 2.8.2
BuildRequires: python3dist(typing-extensions) >= 3.7.4.4 BuildRequires: python3dist(typing-extensions) >= 3.7.4.4
%if 0%{?fedora} %if 0%{?fedora}
BuildRequires: python3dist(wheel) BuildRequires: python3dist(wheel)
BuildRequires: rust-packaging >= 1.45 BuildRequires: rust-packaging
%else %else
# RHEL has rust-toolset and neither setuptools-scm nor wheel # RHEL has rust-toolset and neither setuptools-scm nor wheel
BuildRequires: rust-toolset >= 1.45 BuildRequires: rust-toolset >= 1.45
@ -37,7 +37,7 @@ extensions written in Rust as easily as if they were written in C.
%package -n python3-setuptools-rust %package -n python3-setuptools-rust
Summary: %{summary} Summary: %{summary}
%if 0%{?fedora} %if 0%{?fedora}
Requires: rust-packaging >= 1.45 Requires: rust-packaging
%else %else
Requires: rust-toolset >= 1.45 Requires: rust-toolset >= 1.45
%endif %endif