From 939d04bda85f8b537a028da9599f921ca474272a Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Sun, 5 Nov 2023 23:30:43 -0500 Subject: [PATCH] Add pyproject-rpms-macros dependency This dependency is added automatically only when using %pyproject_generate_buildrequires, which is not the case here. While Fedora python3-devel pulls it in anyway, RHEL/ELN does not. --- numpy.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/numpy.spec b/numpy.spec index c0816c8..1b5c4f8 100644 --- a/numpy.spec +++ b/numpy.spec @@ -62,6 +62,7 @@ BuildRequires: python3-setuptools BuildRequires: python3-pip BuildRequires: python3-Cython BuildRequires: python3-pyproject-metadata +BuildRequires: pyproject-rpm-macros BuildRequires: gcc-gfortran gcc gcc-c++ BuildRequires: lapack-devel BuildRequires: ninja-build