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.
https://access.redhat.com/documentation/en-us/red_hat_software_collections/1/html/packaging_guide/sect-extending_the_python27_and_python33_software_collections From: sclorg-boun...@redhat.com <sclorg-boun...@redhat.com> On Behalf Of Davis, Daniel (NIH/NLM) [C] Sent: Monday, July 22, 2019 3:53 PM To: sclorg@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-boun...@redhat.com<mailto:sclorg-boun...@redhat.com> <sclorg-boun...@redhat.com<mailto:sclorg-boun...@redhat.com>> On Behalf Of Davis, Daniel (NIH/NLM) [C] Sent: Monday, July 22, 2019 3:37 PM To: sclorg@redhat.com<mailto:sclorg@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: https://github.com/danizen/sqlite-centos7 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
_______________________________________________ SCLorg mailing list SCLorg@redhat.com https://www.redhat.com/mailman/listinfo/sclorg