Библиотека сайта rus-linux.net
|Maximum RPM: Taking the Red Hat Package Manager to the Limit
|Chapter 18. Creating Subpackages
Throughout this chapter, we'll be constructing a spec file that will consist of a number of subpackages. Let's start by listing the spec file's requirements:
The main package name is to be
The version is to be 2.7.
There are three subpackages:
The server subpackage, to be called
The client subpackage, to be called
bazdevelopment library subpackage, to be called
bazlibsubpackage has a version of 5.6.
Each subpackage will have its own summary and description tags.
As we can see, there's nothing different here: this is an ordinary spec file so far. Let's delve into things a bit more and see what we'll need to add to this spec file to create the subpackages we require.