<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">So, I'm trying to take the page you
pointed at seriously - so I added this line from that page:<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<pre class="programlisting" style="widows: 4; orphans: 4; background-color: rgb(245, 245, 245); font-size: 0.9em; border: 0px none; margin: 1em 0px 0px; padding: 0.5em 1em; vertical-align: baseline; font-family: 'liberation mono', 'bitstream vera mono', 'dejavu mono', monospace; white-space: pre-wrap; border-top-left-radius: 11px; border-top-right-radius: 11px; border-bottom-right-radius: 11px; border-bottom-left-radius: 11px; page-break-inside: avoid; box-shadow: rgb(170, 170, 170) 0px 2px 5px inset; color: rgb(0, 0, 0); display: block; word-wrap: break-word; tab-size: 4; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22.428001403808594px; text-align: left; text-indent: 0px; text-transform: none; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-position: initial initial; background-repeat: initial initial;"><span class="perl_Keyword" style="widows: 4 !important; orphans: 4 !important; background-color: !
transparen
t; font-size: 17px; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline; color: rgb(0, 47, 93); background-position: initial initial; background-repeat: initial initial;">BuildRequires</span>: scl-utils-build
</pre>
<br>
There is no such package. What was intended here?<br>
<br>
<br>
On 07/15/2014 04:09 PM, Orion Poplawski wrote:<br>
</div>
<blockquote cite="mid:53C5A68E.1030107@cora.nwra.com" type="cite">On
07/15/2014 04:06 PM, Orion Poplawski wrote:
<br>
<blockquote type="cite">On 07/15/2014 03:55 PM, Alan Robertson
wrote:
<br>
<blockquote type="cite">OK. It was pointed out to me off-list
that I was comparing the wrong thing.
<br>
I should have been looking at python27-python. Here's what
that package shows:
<br>
<br>
bash-4.1# *rpm -q --provides python27-python*
<br>
python27-python-abi = 2.7
<br>
python27-python(abi) = 2.7
<br>
python27-Distutils
<br>
python27-python2 = 2.7.5
<br>
python27-python-sqlite = 2.3.2
<br>
python27-python-ctypes = 1.0.1
<br>
python27-python-hashlib = 20081120
<br>
python27-python-uuid = 1.31
<br>
python27-python-argparse = 2.7.5-7.el6.centos.alt
<br>
python27-python = 2.7.5-7.el6.centos.alt
<br>
python27-python(x86-64) = 2.7.5-7.el6.centos.alt
<br>
bash-4.1#
<br>
<br>
Either I'm failing to do something to appease the automagical
python-version
<br>
detection (which I have no idea how it figures that out), or
the property
<br>
names in python27-python should not have the "python27-"
prefix.
<br>
<br>
Anyone know which it is - and how to deal with it?
<br>
<br>
It seems to me like the attributes of the provides should not
be prefixed by
<br>
python27. But I'm new to this SCL stuff...
<br>
</blockquote>
<br>
FWIW - they "python(abi) = ##" requires is added by
/usr/lib/rpm/pythondeps.sh
<br>
as part of the standard rpm dependency generation. So yes, for
this to work
<br>
with the scl, either the scl needs to provide "python(abi) =
2.7" or you will
<br>
need to disable the automatic requires generation or filter out
the
<br>
python(abi) line.
<br>
<br>
We're all new to this SCL stuff.... :)
<br>
<br>
<br>
</blockquote>
<br>
Here's the magic from
<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>
# Similarly, override __python_requires for automatic dependency
generator
<br>
%global __python_requires %{%{scl_python}_python_requires}
<br>
<br>
<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>