From 05fdbf4192ea60671b6cde7eca3150a7995dfe90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 30 May 2023 11:24:39 +0200 Subject: [PATCH] Make %pyproject_build_lib work with RPM 4.16 Related: rhbz#2208971 --- macros.pyproject | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macros.pyproject b/macros.pyproject index 16efc58..84c612e 100644 --- a/macros.pyproject +++ b/macros.pyproject @@ -41,7 +41,7 @@ As a replacement for the macro for the setuptools backend on Fedora 37+, you can or $PWD/build/lib.%%{python3_platform}-cpython-%%{python3_version_nodots} for packages with extension modules. Other build backends and older distributions may need different paths. See https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/thread/HMLOPAU3RZLXD4BOJHTIPKI3I4U6U7OE/ for details. -}%{global __pyproject_build_lib_warned 1}}%{expand:\\\ +}%global __pyproject_build_lib_warned 1}%{expand:\\\ $( pyproject_build_lib=() if [ -d build/lib.%{python3_platform}-cpython-%{python3_version_nodots} ]; then