diff --git a/README.md b/README.md index 9f0cf04..ce32b7b 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/tests/fake-requirements.spec b/tests/fake-requirements.spec index 795c49b..8515a39 100644 --- a/tests/fake-requirements.spec +++ b/tests/fake-requirements.spec @@ -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 diff --git a/tests/python-userpath.spec b/tests/python-userpath.spec index d8d0f84..5f937fd 100644 --- a/tests/python-userpath.spec +++ b/tests/python-userpath.spec @@ -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