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

Thomas F Herbert therbert at redhat.com
Tue Sep 5 14:50:33 UTC 2017


Thanks.

I added local python build macros to the spec file for now.

I have question below though.



On 09/05/2017 01:43 AM, Fabian Arrotin wrote:
> 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)
Is this also the best solution for testing build with several other 
packages on which we have dependencies but plan to add in NFV SIG?
>
>
>
>
> _______________________________________________
> CentOS-devel mailing list
> CentOS-devel at centos.org
> https://lists.centos.org/mailman/listinfo/centos-devel

-- 
*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/20170905/3c995a61/attachment.html>


More information about the CentOS-devel mailing list