[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [scl.org] Question about generating RPMs that depend on SCLs (like python27)



On 07/15/2014 07:14 PM, Alan Robertson wrote:
So, my tool does not conflict with anything that RH or anyone else
provides -- so it doesn't need to be an SCL package.  It just *depends*
on an SCL package.  My code is perfectly happy to issue the scl commands
when it needs to (it knows when it needs to).  No one has to issue any
scl commands to run my code.

Both of those links seem to be oriented towards creating an SCL
package.  Did I miss something?

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.

HTH,
Honza

     Thanks!


On 07/15/2014 10:03 AM, Petr Kovar wrote:
Hi,

On Tue, 15 Jul 2014 10:52:43 -0500
Eugene Vilensky <evilensky gmail com> wrote:

On Mon, Jul 14, 2014 at 4:06 PM, Alan Robertson <alanr unix sh> wrote:

I'm creating an RPM (and spec file) that needs Python 2.7 (the python27
scl).  When I generate it for RHEL6/CentOS6, I the RPM I create has
some
automatically generated dependencies which python27 does not seem to
fulfill...

​Hi Alan,

I'm only beginning to look into doing this for myself, but this might be
how your spec might need to be modified to be SCL aware?:

https://access.redhat.com/documentation/en-US/Red_Hat_Developer_Toolset/1/html/Software_Collections_Guide/sect-Converting_a_Conventional_Spec_File.html

A newer version of the doc is here:

https://access.redhat.com/documentation/en-US/Red_Hat_Developer_Toolset/2/html/Software_Collections_Guide/sect-Converting_a_Conventional_Spec_File.html


This link might also be of help:

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

​
HTH,
pk

_______________________________________________
SCLorg mailing list
SCLorg redhat com
https://www.redhat.com/mailman/listinfo/sclorg




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]