Comments

1 comment

  • Avatar
    Jake

    If you need advanced tweaking of the RPMs, you can make use of a customized SPEC file that can be fed into the installer.

    However, notice that because each distribution names dependencies in a different way and include different library versions, you may be forced to provide separate rpm installers for every of the supported distributions.

    In order to let the builder use the custom .spec file, you will need to add the <rpmSpecFileTemplate> tag to your project XML file:

    <project>
      ...
      <rpmSpecFileTemplate>/path/to/example.spec</rpmSpecFileTemplate>
      ...
    </project>
    

    A sample .spec file can be seen here.

    For instance, you may want to edit this line to set dependencies for the generated RPM file:

    Requires: package1 package2 package3
    

Please sign in to leave a comment.