diff --git a/python-hatchling.spec b/python-hatchling.spec index 0feafd7..7070cfe 100644 --- a/python-hatchling.spec +++ b/python-hatchling.spec @@ -13,8 +13,8 @@ Source1: hatchling.1 BuildArch: noarch BuildRequires: python3-devel -# RHBZ#1985340 -BuildRequires: pyproject-rpm-macros >= 1.1.0 +# RHBZ#1985340, RHBZ#2076994 +BuildRequires: pyproject-rpm-macros >= 1.2.0 %global common_description %{expand: This is the extensible, standards compliant build backend used by Hatch.} @@ -33,18 +33,7 @@ Summary: %{summary} %generate_buildrequires -# Cannot use -r (the default) with hatchling: “ValueError: build backend cannot -# provide build metadata (incl. runtime requirements) before build”. We work -# around this by writing the dependencies from src/hatchling/ourobororos.py -# into a text file. -PYTHONPATH="${PWD}/src" '%{python3}' <