CI and docs: Remove Fedora 34 conditionals and mentions

Fedora 34 is end of life.

Related: rhbz#2117571
This commit is contained in:
Miro Hrončok 2022-06-06 05:51:34 +00:00
parent 07598e61d1
commit e082e4a71a
3 changed files with 3 additions and 8 deletions

View File

@ -377,7 +377,7 @@ If multiple wheels were built from different directories,
the value will differ depending on the current directory.
### Older pip with out-of-tree-build (Fedora 34, 35, and EL 9)
### Older pip with out-of-tree-build (Fedora 35 and EL 9)
The value will expand to something like:

View File

@ -23,8 +23,8 @@ EOF
%check
pip show toml click
%if 0%{?fedora} > 34 || 0%{?rhel} > 9
# On F34, python3-devel requires (python3-setuptools if rpm-build)
%if 0%{?fedora} || 0%{?rhel} > 9
# On RHEL 9, python3-devel requires (python3-setuptools if rpm-build)
pip show setuptools && exit 1 || true
%endif
pip show wheel && exit 1 || true

View File

@ -27,9 +27,6 @@ Summary: %{summary}
...
%if 0%{?fedora} > 34 || 0%{?rhel}
# On Fedora 34, we don't have hatchling, so this entire spec file builds nothing
%prep
%autosetup -p1 -n userpath-%{version}
sed -Ei '/^(coverage)$/d' requirements-dev.txt
@ -55,5 +52,3 @@ sed -Ei '/^(coverage)$/d' requirements-dev.txt
%files -n python3-userpath -f %{pyproject_files}
%{_bindir}/userpath
%endif