Once you have the temporary build directory with the skin files and the spec file complete, you are ready to build the RPM skin package.
Note: You must have the power user privileges to perform this operation.
Execute the following command:
# rpmbuild -bb SKIN.spec
Replace SKIN.spec
with the name of your custom skin spec file described in the previous section.
Once the process of building the RPM package is complete, you will find the package (in our example it will be MySkin-0.0.1-1.noarch.rpm
) in the following directory: /usr/src/redhat/RPMS/i386
.