Customizing the SPEC file

About this task

To make sure that you can tell the customized package apart from the original package, you must customize the version number in the SPEC file. It is recommended that you use an identifier that is based on your organization's name. In this example "BFC Fiction Ltd" is used.

To customize the SPEC file, complete the following steps:

Procedure

  1. Edit the SPEC file.
    You can use your favorite editor instead of vi.

    $ vi SPECS/trc-target.spec

  2. Change the line Version: ${_buildversion} to Version: 5.1.2.bfc
  3. The release field must be updated as well.
    This field can be used to track the version of your customized builds.

    Change Release: %{_buildlevel} to Release: 1