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
- Edit the SPEC file. You can use your favorite editor instead of vi.
$ vi SPECS/trc-target.spec - Change the line
Version: ${_buildversion}toVersion: 5.1.2.bfc - The release field must be updated as well. This field can be used to track the version of your customized builds.
Change
Release: %{_buildlevel}toRelease: 1