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

2010-09-15 Thread Robin Lee
Oh! Thank you! This works. On Thu, Sep 16, 2010 at 12:07 PM, Toshio Kuratomi wrote: > On Thu, Sep 16, 2010 at 10:03:21AM +0800, Robin Lee wrote: > > The main point I want to get is to set a proper python(abi) requirement > at > > buildtime without using hard ver

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

2010-09-15 Thread Robin Lee
to get what we want. See this patch: https://bugzilla.redhat.com/attachment.cgi?id=447458&action=diff Robin On Thu, Sep 16, 2010 at 12:17 AM, Toshio Kuratomi wrote: > On Wed, Sep 15, 2010 at 07:25:49PM +0800, Robin Lee wrote: > > For a more concrete example: > https://bug

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

2010-09-15 Thread Robin Lee
You should build this package in a clean root like a mock environment. If you have python3-devel already installed and then run rpmbuild --rebuild, you will not see the issue. On Wed, Sep 15, 2010 at 7:25 PM, Robin Lee wrote: > For a more concrete example: > https://bugzilla.redh

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

2010-09-15 Thread Robin Lee
PM, Ignacio Vazquez-Abrams < ivazquez...@gmail.com> wrote: > On Wed, 2010-09-15 at 18:22 +0800, Robin Lee wrote: > > python3 rpm macros not available without python3-devel installed. > > 'rpmbuild --viewrc' will show you. > > > > So if you use the pyt

python3 rpm macros not available without python3-devel installed

2010-09-15 Thread Robin Lee
python3 rpm macros not available without python3-devel installed. 'rpmbuild --viewrc' will show you. So if you use the python3 macros to define another macro and you have no python3-devel installed, you must fail. So, how to define, for example, a %py3_ver macro for the major version of Python3?