Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • How to build SCL enabled packages

    Posted on

    Hi,

    I'm trying to make it possible to build the same

    *.spec
    as SCL and as a conventional package. I have a meta package and a bunch of "dependencies" which I converted from conventional spec files. There is no problem when I try to build it as SCL package (as described here: https://access.redhat.com/documentation/en-US/Red_Hat_Developer_Toolset/1/html-single/Software_Collections_Guide/#sect-Building_a_Software_Collection_Locally), but I still want to build it as a conventional (i.e. not defining
    scl
    at build time).

    Also I have other SCLs installed in my system (

    rh-python34
    for example)... So when I build a conventional package
    %scl
    macro gets defined anyway! And it came from
    /etc/rpm/macros.rh-python34-config
    which defines it to
    rh-python34
    ... After build my "conventional" package named w/
    rh-python34
    prefix and installed to just another (random) SCL instead :(

    Any hint how can I build a really conventional package?

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat