DevHeads.net

%py3_build should accept options

Just want to get others opinions before filing a bug...

Currently %py3_build expands to:

$ rpm -E %py3_build
\
CFLAGS="${CFLAGS:-${RPM_OPT_FLAGS}}"
LDFLAGS="${LDFLAGS:-${RPM_LD_FLAGS}}"\
/usr/bin/python3 setup.py build --executable="/usr/bin/python3 -s"
sleep 1

This does not allow passing of any options that I can tell... For now I'll
just paste this into my spec file.

Thanks,
Richard

Comments

Re: %py3_build should accept options

By Igor Gnatenko at 02/09/2019 - 08:46

You can do "%py3_build -- --some-cool-option".

Re: %py3_build should accept options

By Richard Shaw at 02/09/2019 - 08:51

On Sat, Feb 9, 2019 at 7:48 AM Igor Gnatenko <

I'll see about trying that.. I'm trying to build PySide2 but it's not
passing --verbose or -j12 to the cmake builds so it looks like it doesn't
matter anyway.

Thanks,
Richard