python3 rpm macros not available without python3-devel installed

Ignacio Vazquez-Abrams ivazqueznet at gmail.com
Wed Sep 15 11:06:16 UTC 2010


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 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? Must yum be used?
> 
> Robin

Adding a "BuildRequires: python3-devel" should be enough to pull them
in.

-- 
Ignacio Vazquez-Abrams <ivazqueznet at gmail.com>



More information about the python-devel mailing list