[CentOS-devel] Question about building python with python2 macros

Thomas F Herbert

therbert at redhat.com
Mon Sep 4 21:20:09 UTC 2017


I have come upon a problem building python packages.

The upstream spec file I am using makes heavy use of %py2_build macro 
which causes builds to fail in cbs because

this macro is provided by python2-rpm-macros. That macro is in EPEL and 
not available for cbs builds.

Should I just replace py2_build with its expansion as found in

python2-rpm-macros?

--TFH

-- 
*Thomas F Herbert*
NFV and Fast Data Planes
Office of Technology
*Red Hat*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20170904/977e3658/attachment-0003.html>


More information about the CentOS-devel mailing list