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