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

2017-11-29 Thread Remi Collet
Hi, Le 29/11/2017 à 15:35, Jiri Novak a écrit : > the sclo packages will also write itself into > /opt/rh/rh-python36/something, right? $ rpm -qlp sclo-python35-python-bottle-0.12.9-5.el7.noarch.rpm /opt/rh/rh-python35/root/usr/lib/python3.5/site-packages/__pycache__ /opt/rh/rh-python35/root/usr

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

2017-11-29 Thread Jiri Novak
Hi, yes, the only way I managed to build so far was in the begining by copying rh-python36-build from centos to my own repo. Which seems to be wrong according to redhat, but I start to think its the only way :) I've managed to make some dummy scl extending rh-python36 but still a lot paths is som

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

2017-11-29 Thread Remi Collet
I think there some confusion here. The simple way to build additional package for an existing collection is to install the -build package in the buildroot, which provides the "overrides" stuff for needed macros. This is exactly what is done by the SCLo SIG Examples: * sclo-php71 (additional pac

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

2017-11-29 Thread Stefan Ring
On Wed, Nov 29, 2017 at 11:12 AM, Jiri Novak wrote: > Stefan Ring wrote: >>> What else is the right way to make RPM adding more libraries available >>> when in scl enable rh-python36 bash? >> Create your own mirror of rh-python36 and just add your packages to it? > Sounds like dirty hack as rh-pyt

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

2017-11-29 Thread Jiri Novak
Stefan Ring wrote: >> What else is the right way to make RPM adding more libraries available >> when in scl enable rh-python36 bash? > Create your own mirror of rh-python36 and just add your packages to it? Sounds like dirty hack as rh-python36-build was intentionally not shipped in rhel. or by mir

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

2017-11-29 Thread Stefan Ring
> What else is the right way to make RPM adding more libraries available > when in scl enable rh-python36 bash? Create your own mirror of rh-python36 and just add your packages to it? ___ SCLorg mailing list SCLorg@redhat.com https://www.redhat.com/mail

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

2017-11-29 Thread Jiri Novak
Stefan Ring wrote: > On Tue, Nov 28, 2017 at 2:40 PM, Jiri Novak wrote: >> Hi >> >> I need to add more libraries to rh-python36, which would require using >> rh-python36-build package and I've been told it is wring and I should do >> my own SCL. >> >> then I need to make the application use the ex

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

2017-11-28 Thread Stefan Ring
On Tue, Nov 28, 2017 at 2:40 PM, Jiri Novak wrote: > Hi > > I need to add more libraries to rh-python36, which would require using > rh-python36-build package and I've been told it is wring and I should do > my own SCL. > > then I need to make the application use the extended SCL with added > libr

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

2017-11-28 Thread Jiri Novak
GitHub.com/NLM-OCCS/occsab-python > <https://GitHub.com/NLM-OCCS/occsab-python> > > > > Sent with BlackBerry Work (www.blackberry.com) > > *From: *Jiri Novak > *Sent: *Nov 28, 2017 5:41 AM > *

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

2017-11-28 Thread Jiri Novak
Hi I need to add more libraries to rh-python36, which would require using rh-python36-build package and I've been told it is wring and I should do my own SCL. then I need to make the application use the extended SCL with added libraries. Just running it agains rh-python36 is not enough because o

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

2017-11-28 Thread Stefan Ring
On Tue, Nov 28, 2017 at 1:47 PM, Jiri Novak wrote: > Hi, > > according to this ( > https://developers.redhat.com/blog/2014/12/04/add-packages-to-python-2-7-software-collection/ > ), I'm trying to create my own extension of the rh-python36, though > doesn't build: > > + '[' '%{buildarch}' = noarch

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

2017-11-28 Thread Jiri Novak
Hi, according to this ( https://developers.redhat.com/blog/2014/12/04/add-packages-to-python-2-7-software-collection/ ), I'm trying to create my own extension of the rh-python36, though doesn't build: + '[' '%{buildarch}' = noarch ']' + QA_CHECK_RPATHS=1 + case "${QA_CHECK_RPATHS:-}" in + /usr/li

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

2017-11-22 Thread Jiri Novak
Hi, I've narrowed it down to what I need to place the packages in /opt/rh instead if the /usr/lib/python2.7 %define scl rh-python36 %define scl_package_override() %{expand:%{?python36_os_install_post:%global __os_install_post %python36_os_install_post} %global __python_requires %python36_python_re

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

2017-11-22 Thread Marek Skalický
Packages in collections with rh- prefix are part of RHSCL product and developed by RedHat. So no modification (adding new packages) should be done to these collections - it could cause confusion. So solution to your problem is to create new collection. And -build package of this your new collectio

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

2017-11-22 Thread Pavel Valena
- Original Message - > From: "Pavel Valena" > To: "Jiri Novak" > Cc: sclorg@redhat.com > Sent: Wednesday, November 22, 2017 4:20:09 PM > Subject: Re: [scl.org] rh-python36-build alternative in rhel > > - Original Message - > >

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

2017-11-22 Thread Pavel Valena
- Original Message - > From: "Jiri Novak" > To: sclorg@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 rh

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

2017-11-22 Thread Jiri Novak
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, whi

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

2017-11-22 Thread Marek Skalický
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 r

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

2017-11-22 Thread Stefan Ring
On Wed, Nov 22, 2017 at 2:45 PM, Jiri Novak 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-

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

2017-11-22 Thread Jiri Novak
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