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

Tue Sep 5 05:43:48 UTC 2017
Fabian Arrotin <arrfab at centos.org>

On 04/09/17 23:20, Thomas F Herbert wrote:
> 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*
> 

If you  need a specific pkg to always be in the buildroots, you can
create a ticket on https://bugs.centos.org so that Thomas (or someone
else) can add it in the pkgs manifests for that tag/target. IIRC RDO
already uses their own macros
(https://cbs.centos.org/koji/packageinfo?packageID=1873)


-- 
Fabian Arrotin
The CentOS Project | http://www.centos.org
gpg key: 56BEC54E | twitter: @arrfab

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20170905/5d5847d9/attachment-0008.sig>