From cbda5f6a15d21d3a3713301fe57b4aedbe62f894 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sat, 23 Apr 2022 10:34:29 -0400 Subject: [PATCH] =?UTF-8?q?Use=20wheel-building=20support=20to=20generate?= =?UTF-8?q?=20BR=E2=80=99s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- python-hatchling.spec | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) 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}' <