<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">The key thing here is that it shouldn't
      be complaining about a dependency which is satisfied.  That is, if
      I have python27 installed (which I do), then it should supply
      python(abi) = 2.7 -- and then RPM shouldn't be complaining.<br>
      <br>
      So, either the python27 package doesn't supply that, or the RPM
      command (yum in this case) is broken.  Let's see which...<br>
      <br>
      bash-4.1# <b>rpm -q --provides python</b><br>
      Distutils  <br>
      python(abi) = 2.6<br>
      python-abi = 2.6<br>
      python-ctypes = 1.0.1<br>
      python-hashlib = 20081120<br>
      python-sqlite = 2.3.2<br>
      python-uuid = 1.31<br>
      python-x86_64 = 2.6.6-52.el6<br>
      python2 = 2.6.6<br>
      python = 2.6.6-52.el6<br>
      python(x86-64) = 2.6.6-52.el6<br>
      <br>
      bash-4.1# <b>rpm -q --provides python27</b><br>
      python27 = 1-10.el6.centos.alt<br>
      python27(x86-64) = 1-10.el6.centos.alt<br>
      bash-4.1# <br>
      <br>
      So, the python27 package is broken.  It has an insufficient set of
      "provides".  Significantly insufficient...<br>
      <br>
      <br>
      <br>
      <br>
      <br>
      <br>
      On 07/15/2014 12:08 PM, Honza Horak wrote:<br>
    </div>
    <blockquote cite="mid:53C56E33.7010907@redhat.com" type="cite">On
      07/15/2014 07:14 PM, Alan Robertson wrote:
      <br>
      <blockquote type="cite">So, my tool does not conflict with
        anything that RH or anyone else
        <br>
        provides -- so it doesn't need to be an SCL package.  It just
        *depends*
        <br>
        on an SCL package.  My code is perfectly happy to issue the scl
        commands
        <br>
        when it needs to (it knows when it needs to).  No one has to
        issue any
        <br>
        scl commands to run my code.
        <br>
        <br>
        Both of those links seem to be oriented towards creating an SCL
        <br>
        package.  Did I miss something?
        <br>
      </blockquote>
      <br>
      It could help if you provided the spec file. From the description
      so far it looks like you does not enable python27 collection in
      the %build and %install section, so the build and install
      scriptlets have not properly set environment. But I may be wrong.
      <br>
      <br>
      HTH,
      <br>
      Honza
      <br>
      <br>
      <blockquote type="cite">     Thanks!
        <br>
        <br>
        <br>
        On 07/15/2014 10:03 AM, Petr Kovar wrote:
        <br>
        <blockquote type="cite">Hi,
          <br>
          <br>
          On Tue, 15 Jul 2014 10:52:43 -0500
          <br>
          Eugene Vilensky <a class="moz-txt-link-rfc2396E" href="mailto:evilensky@gmail.com"><evilensky@gmail.com></a> wrote:
          <br>
          <br>
          <blockquote type="cite">On Mon, Jul 14, 2014 at 4:06 PM, Alan
            Robertson <a class="moz-txt-link-rfc2396E" href="mailto:alanr@unix.sh"><alanr@unix.sh></a> wrote:
            <br>
            <br>
            <blockquote type="cite">I'm creating an RPM (and spec file)
              that needs Python 2.7 (the python27
              <br>
              scl).  When I generate it for RHEL6/CentOS6, I the RPM I
              create has
              <br>
              some
              <br>
              automatically generated dependencies which python27 does
              not seem to
              <br>
              fulfill...
              <br>
            </blockquote>
            <br>
            ​Hi Alan,
            <br>
            <br>
            I'm only beginning to look into doing this for myself, but
            this might be
            <br>
            how your spec might need to be modified to be SCL aware?:
            <br>
            <br>
<a class="moz-txt-link-freetext" href="https://access.redhat.com/documentation/en-US/Red_Hat_Developer_Toolset/1/html/Software_Collections_Guide/sect-Converting_a_Conventional_Spec_File.html">https://access.redhat.com/documentation/en-US/Red_Hat_Developer_Toolset/1/html/Software_Collections_Guide/sect-Converting_a_Conventional_Spec_File.html</a>
            <br>
            <br>
          </blockquote>
          A newer version of the doc is here:
          <br>
          <br>
<a class="moz-txt-link-freetext" href="https://access.redhat.com/documentation/en-US/Red_Hat_Developer_Toolset/2/html/Software_Collections_Guide/sect-Converting_a_Conventional_Spec_File.html">https://access.redhat.com/documentation/en-US/Red_Hat_Developer_Toolset/2/html/Software_Collections_Guide/sect-Converting_a_Conventional_Spec_File.html</a>
          <br>
          <br>
          <br>
          This link might also be of help:
          <br>
          <br>
<a class="moz-txt-link-freetext" href="https://access.redhat.com/documentation/en-US/Red_Hat_Developer_Toolset/2/html/Software_Collections_Guide/sect-Extending_the_python27_and_python33_Software_Collections.html">https://access.redhat.com/documentation/en-US/Red_Hat_Developer_Toolset/2/html/Software_Collections_Guide/sect-Extending_the_python27_and_python33_Software_Collections.html</a>
          <br>
          <br>
          ​
          <br>
          HTH,
          <br>
          pk
          <br>
          <br>
          _______________________________________________
          <br>
          SCLorg mailing list
          <br>
          <a class="moz-txt-link-abbreviated" href="mailto:SCLorg@redhat.com">SCLorg@redhat.com</a>
          <br>
          <a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/sclorg">https://www.redhat.com/mailman/listinfo/sclorg</a>
          <br>
        </blockquote>
        <br>
        <br>
      </blockquote>
      <br>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
    Alan Robertson <a class="moz-txt-link-rfc2396E" href="mailto:alanr@unix.sh"><alanr@unix.sh></a> - @OSSAlanR

"Openness is the foundation and preservative of friendship...  Let me claim from you at all times your undisguised opinions." - William Wilberforce
</pre>
  </body>
</html>