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

Re: [scl.org] rh-python36-build alternative in rhel



Hi

I need to add more libraries to rh-python36, which would require using
rh-python36-build package and I've been told it is wring and I should do
my own SCL.

then I need to make the application use the extended SCL with added
libraries.

Just running it agains rh-python36 is not enough because of missing
dependencies :(

The specfile should create packages test-python36-build and
test-python36-runtime as a collection that extends rh-python36

Gh.

Stefan Ring wrote:
> On Tue, Nov 28, 2017 at 1:47 PM, Jiri Novak <jiri novak ghorland net> wrote:
>> Hi,
>>
>> according to this (
>> https://developers.redhat.com/blog/2014/12/04/add-packages-to-python-2-7-software-collection/
>> ), I'm trying to create my own extension of the rh-python36, though
>> doesn't build:
>>
>> + '[' '%{buildarch}' = noarch ']'
>> + QA_CHECK_RPATHS=1
>> + case "${QA_CHECK_RPATHS:-}" in
>> + /usr/lib/rpm/check-rpaths
>> + /usr/lib/rpm/check-buildroot
>> + '%{rh-python36_os_install_post}'
>> /var/tmp/rpm-tmp.k3bzOV: line 316: fg: no job control
>> error: Bad exit status from /var/tmp/rpm-tmp.k3bzOV (%install)
>>
>> most probably because the variables are not expanded?
>> What did I miss? Specfile for refenrence in attachement.
> What is this spec file? It looks awfully complicated.
>
> I'm getting you want to build something against rh-python36. Why don't
> you take an existing package, let’s say, rh-python36-python-six, and
> adapt it?


Attachment: signature.asc
Description: OpenPGP digital signature


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