[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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:
https://www.softwarecollections.org/en/docs/guide/#sect-Extending_the_p
ython27_and_rh-python35_Software_Collections



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]