Re: python3 rpm macros not available without python3-devel installed

2010-09-15 Thread Robin Lee
Oh, sorry. I may have chosen a bad email subject. This failed scratch build shows what was happening: https://koji.fedoraproject.org/koji/taskinfo?taskID=2468876 On Wed, Sep 15, 2010 at 11:07 PM, Robin Lee wrote: > The main issue is failing to use a macro defined with %__python3 to specify > th

Re: python3 rpm macros not available without python3-devel installed

2010-09-15 Thread Robin Lee
The main issue is failing to use a macro defined with %__python3 to specify the version of a requirement. The recipe is sth like this: %global py3_ver %(echo `%{__python3} -c "import sys; sys.stdout.write(sys.version[:3])"`) ... Requires: python(abi) = %{py3_ver} On Wed, Sep 15, 2010 at

Re: python3 rpm macros not available without python3-devel installed

2010-09-15 Thread David Malcolm
I suspect I haven't had enough coffee yet, but I don't see the problem here. Why not simply add "python3-devel" as a build requirement as Ignacio says? If a build requirement isn't installed, it's acceptable for a build to fail: it's a violation of a precondition. On Wed, 2010-09-15 at 19:35 +08