How to get advanced RPM features with BitRock InstallBuilder

asked 14 Sep '11, 03:46

Jake's gravatar image

Jake ♦♦
826222226235
accept rate: 98%


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
link

answered 14 Sep '11, 03:51

Jake's gravatar image

Jake ♦♦
826222226235
accept rate: 98%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×21
×5

Asked: 14 Sep '11, 03:46

Seen: 1,375 times

Last updated: 14 Sep '11, 03:51