[scl.org] rh-python36 and sqlite version

Davis, Daniel (NIH/NLM) [C] daniel.davis at nih.gov
Mon Jul 22 20:13:34 UTC 2019

This pretty much describes what I might wish to do, but I'd prefer to find the latest documentation.  Will look to the SCL SIG for latest documentation.


From: sclorg-bounces at redhat.com <sclorg-bounces at redhat.com> On Behalf Of Davis, Daniel (NIH/NLM) [C]
Sent: Monday, July 22, 2019 3:53 PM
To: sclorg at redhat.com
Subject: Re: [scl.org] rh-python36 and sqlite version

I've downloaded rh-python36-python-pymongo-3.5.1-1.el7.src.rpm and I see the macros in there.  I've also installed rh-python36-scldevel, and I see what it defines.

It looks like what I would want to do is to pass the correct macros into rpmbuild some of the time.

rpmbuild -bc --define "%scl_python rh-python36
%scl_prefix_python rh-python36-"

The changes should only be in the spec. file, which I've already pulled out.

Can someone confirm?

From: sclorg-bounces at redhat.com<mailto:sclorg-bounces at redhat.com> <sclorg-bounces at redhat.com<mailto:sclorg-bounces at redhat.com>> On Behalf Of Davis, Daniel (NIH/NLM) [C]
Sent: Monday, July 22, 2019 3:37 PM
To: sclorg at redhat.com<mailto:sclorg at redhat.com>
Subject: [scl.org] rh-python36 and sqlite version

I recently noticed that Django 2.2 requires sqlite 3.8.3 or better.   I first tried the Fedora  26 SRPM, and then the Fedora 23 SRPM.
I needed to make one tweak to the later:


Problem with my method, which I long ago honed when shipping a custom appliance, is that it overlays the sqlite already on the system.
Better to build a custom sqlite that will go into /opt/rh/rh-python36/root - can someone re-educate me on how to do this.   I know that it is in wikis, but I'm an old dog who mostly does application software in Python/Django these days, except when I need to drop down to a lower level to help the systems guys understand what they need to do.

Only now that I've convinced them to use RHSCL so heavily, I need to know how to augment the SCLs as well.

Dan Davis, Systems/Applications Architect (Contractor),
Office of Computer and Communications Systems,
National Library of Medicine, NIH

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/sclorg/attachments/20190722/22e0a4d3/attachment.htm>

More information about the SCLorg mailing list