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

Marek Skalický mskalick at redhat.com
Wed Nov 22 14:27:30 UTC 2017

Jiri Novak píše v St 22. 11. 2017 v 14:45 +0100:
> 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? The issue is that
> without it, %{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?

You have to create new collection which depends on rh-python36 (-build
subpackage of your SCL will require rh-python36-scldevel)

Take a look at SCL Packaging guidelines:

> for reference, scl-utils-build and rh-python36-scldevel are
> installed,
> but that's not enough.
> Thanks,
> Gh.
> _______________________________________________
> SCLorg mailing list
> SCLorg at redhat.com
> https://www.redhat.com/mailman/listinfo/sclorg

More information about the SCLorg mailing list