CI: Use tomli rather than toml in fake-requirements.spec
toml is deprecated and not available on EL10.
(cherry picked from commit dddc9bf556
)
This commit is contained in:
parent
e161cd449e
commit
07644782c4
@ -14,7 +14,7 @@ Fake spec file to test %%pyproject_buildrequires -N works as expected
|
|||||||
%prep
|
%prep
|
||||||
cat > requirements.txt <<EOF
|
cat > requirements.txt <<EOF
|
||||||
click!=5.0.0,>=4.1 # comment to increase test complexity
|
click!=5.0.0,>=4.1 # comment to increase test complexity
|
||||||
toml>=0.10.0
|
tomli>=0.10.0
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
%generate_buildrequires
|
%generate_buildrequires
|
||||||
@ -22,7 +22,7 @@ EOF
|
|||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
pip show toml click
|
pip show tomli click
|
||||||
%if 0%{?fedora} || 0%{?rhel} > 9
|
%if 0%{?fedora} || 0%{?rhel} > 9
|
||||||
# On RHEL 9, python3-devel requires (python3-setuptools if rpm-build)
|
# On RHEL 9, python3-devel requires (python3-setuptools if rpm-build)
|
||||||
pip show setuptools && exit 1 || true
|
pip show setuptools && exit 1 || true
|
||||||
|
Loading…
Reference in New Issue
Block a user