<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">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.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><u><span style="color:blue"><a href="https://access.redhat.com/documentation/en-us/red_hat_software_collections/1/html/packaging_guide/sect-extending_the_python27_and_python33_software_collections">https://access.redhat.com/documentation/en-us/red_hat_software_collections/1/html/packaging_guide/sect-extending_the_python27_and_python33_software_collections</a></span></u><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> sclorg-bounces@redhat.com <sclorg-bounces@redhat.com>
<b>On Behalf Of </b>Davis, Daniel (NIH/NLM) [C]<br>
<b>Sent:</b> Monday, July 22, 2019 3:53 PM<br>
<b>To:</b> sclorg@redhat.com<br>
<b>Subject:</b> Re: [scl.org] rh-python36 and sqlite version<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">It looks like what I would want to do is to pass the correct macros into rpmbuild some of the time.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">rpmbuild -bc --define “%scl_python rh-python36                                                                                                                                                          
<o:p></o:p></p>
<p class="MsoNormal">%scl_prefix_python rh-python36-“<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The changes should only be in the spec. file, which I’ve already pulled out.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Can someone confirm?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> <a href="mailto:sclorg-bounces@redhat.com">sclorg-bounces@redhat.com</a> <<a href="mailto:sclorg-bounces@redhat.com">sclorg-bounces@redhat.com</a>>
<b>On Behalf Of </b>Davis, Daniel (NIH/NLM) [C]<br>
<b>Sent:</b> Monday, July 22, 2019 3:37 PM<br>
<b>To:</b> <a href="mailto:sclorg@redhat.com">sclorg@redhat.com</a><br>
<b>Subject:</b> [scl.org] rh-python36 and sqlite version<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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.<o:p></o:p></p>
<p class="MsoNormal">I needed to make one tweak to the later:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><a href="https://github.com/danizen/sqlite-centos7">https://github.com/danizen/sqlite-centos7</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Problem with my method, which I long ago honed when shipping a custom appliance, is that it overlays the sqlite already on the system.<o:p></o:p></p>
<p class="MsoNormal">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.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Only now that I’ve convinced them to use RHSCL so heavily, I need to know how to augment the SCLs as well.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Dan Davis, Systems/Applications Architect (Contractor),<o:p></o:p></p>
<p class="MsoNormal">Office of Computer and Communications Systems,<o:p></o:p></p>
<p class="MsoNormal">National Library of Medicine, NIH<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</body>
</html>