On 07-07-2024 19:57, Antonio T. sagitter wrote:
How i can pass configuration options to %pyproject_wheel?
For example, i wish to change this line
%py3_build -- --enable-qcas --executable="%{__python3} -s"
with
%pyproject_wheel ...
but i don't know how to include "--enable-qcas"
I believe `-C--enable-qcas` is waht you are looking for. It's explained in the pyproject-rpm-macros README, which is what you see when visiting https://src.fedoraproject.org/rpms/pyproject-rpm-macros (search for / scroll down to "Passing config settings to build backends").
-- Sandro