[scl.org] rh-python36-build alternative in rhel

Pavel Valena pvalena at redhat.com
Wed Nov 22 15:20:09 UTC 2017


----- Original Message -----
> From: "Jiri Novak" <jiri.novak at ghorland.net>
> To: sclorg at redhat.com
> Sent: Wednesday, November 22, 2017 4:07:33 PM
> Subject: Re: [scl.org] rh-python36-build alternative in rhel
> 
> Hi,
> 
> the issue is that I don't have the rh-python36-build in rhel (satellite)
> and I didn't manage to find it on rhel site, so I assume it doesn't
> exist and should be replaced somehow.
> It doesn't sound right to install it via wget && rpm -i from centos.
> Or am I wrong and it is somewhere? if yes, which repo?

I'm not sure about the repo, as AFAIR it's not shipped, so probably some internal compose only.
In the meantime, you can check it here:

https://brewweb.engineering.redhat.com/brew/rpminfo?rpmID=4714375

Pavel

> 
> Dependence only on rh-python36 is not enough as it is built for python
> 2.7 instead, the scl related macros are not working without
> rh-python36-build
> 
> Thanks,
> Gh.
> 
> 
> Stefan Ring wrote:
> > On Wed, Nov 22, 2017 at 2:45 PM, Jiri Novak <jiri.novak at ghorland.net>
> > wrote:
> >> Hello,
> >>
> >> I'm currently trying to port python app to use rh-python36 SCL (built
> >> using mock+rpmbuild), I've managed to make it build correctly in the scl
> >> paths (and using python3 for the packages that need it during build) if
> >> I install rh-python36-build from centos to the mock root.
> >> Is there a way to do this with rhel packages too?
> > Do what?
> >
> >> The issue is that
> >> without it,
> > Without what?
> >
> >> %{scl} in specfile is not populated, with it, it's properly
> >> set to rh-python36. Should I pass the value in different manner than in
> >> centos? or what might I be doing wrong?
> > I have no idea what you are trying to achieve.
> 




More information about the SCLorg mailing list