<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">It's an install dependency issue - it
builds just fine. But attaching it is a good thought. Thanks!<br>
<br>
The message below comes up when I try and install the RPM which I
successfully built:<br>
<br>
<tt><b>Error: Package: assimilation-cma-0.1.4-0.30.x86_64
(/assimilation-cma-0.1.4-0.30.x86_64)</b></tt><tt><b><br>
</b></tt><tt><b> Requires: python(abi) = 2.7</b></tt><tt><b><br>
</b></tt><tt><b> Installed: python-2.6.6-52.el6.x86_64
(@Updates/$releasever)</b></tt><tt><b><br>
</b></tt><tt><b> python(abi) = 2.6</b></tt><tt><b><br>
</b></tt><tt><b> Available: python-2.6.6-51.el6.x86_64
(base)</b></tt><tt><b><br>
</b></tt><tt><b> python(abi) = 2.6</b></tt><br>
<br>
The machine I tried to install it on *has* python27 installed on
it. So, it looks to me more like the python27 package doesn't
provide "python(abi) = 2.7"<br>
<br>
This particular python27 package comes from CentOS.<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>