separate rpm for each component

Comments

2 comments

  • Avatar
    wojciechka

    It is not possible to create a separate RPM for one or more components. What can be done is to create a separate project for each of the components and build RPM packages.

    Next, an installer could be created that installs the selected RPM packages using rpm command.

    Could you provide more details on what exactly you want to achieve? Also, why do you need separate RPM packages for each component vs a single RPM package for entire application?

  • Avatar
    juanjo

    You could create a component for each of them and save it in its own file. Then, create individual projects, used to generate the rpms, and a full one for the UI installer. The individual installers will be as simple as just:

    <project>
       <shortName>b</shortName>
       ...
       <componentList>
         <include file="b.xml"/>
       </componentList>
       <parameterList>
          <directoryParameter name="installdir" .../>
       </parameterList>
    <project>
    

    And in the full project you could include all of them:

    <project>
       <shortName>a</shortName>
       ...
       <componentList>
         <include file="a.xml"/>
         <include file="b.xml"/>
         <include file="c.xml"/>
       </componentList>
       <parameterList>
          <directoryParameter name="installdir" .../>
       </parameterList>
    <project>
    

Please sign in to leave a comment.