diff --git a/python-virtualenv.spec b/python-virtualenv.spec index 9beb350..6aa83fb 100644 --- a/python-virtualenv.spec +++ b/python-virtualenv.spec @@ -1,6 +1,6 @@ Name: python-virtualenv Version: 20.20.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Tool to create isolated Python environments License: MIT @@ -88,17 +88,13 @@ test ! -f src/virtualenv/seed/embed/wheels/*.whl sed -i -e 's/distlib<1,>=0.3.6/distlib<1,>=0.3.2/' \ -e 's/filelock<4,>=3.4.1/filelock<4,>=3.3.1/' \ -e 's/platformdirs<4,>=2.4/platformdirs<4,>=2.3/' \ - -e 's/hatchling>=1.12.2/hatchling>=0.25/' \ - -e 's/hatch-vcs>=0.3/hatch-vcs>=0.2.1/' \ pyproject.toml %generate_buildrequires -# EPEL 9: old hatchling needs the -w option -%pyproject_buildrequires -w +%pyproject_buildrequires %build -# EPEL 9: %%pyproject_buildrequires -w makes this redundant -# %%pyproject_wheel +%pyproject_wheel %install %pyproject_install @@ -136,11 +132,11 @@ PIP_CERT=/etc/pki/tls/certs/ca-bundle.crt \ %files -n python3-virtualenv -f %{pyproject_files} %doc README.md %{_bindir}/virtualenv -# EPEL 9: old hatchling does not mark this as License-File automatically -# (this will produce a "File listed twice" warning, ignore it) -%license %{python3_sitelib}/virtualenv-%{version}.dist-info/license_files/LICENSE %changelog +* Thu Jul 27 2023 Benjamin A. Beasley - 20.20.0-2 +- Remove workarounds for old hatchling + * Wed Mar 01 2023 Lumír Balhar - 20.20.0-1 - Update to 20.20.0 (rhbz#2174221)