Библиотека сайта rus-linux.net
Maximum RPM: Taking the Red Hat Package Manager to the Limit | ||
---|---|---|
Prev | Chapter 18. Creating Subpackages | Next |
Our Example Spec File: Subpackages Galore!
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
foo
.The version is to be 2.7.
There are three subpackages:
The server subpackage, to be called
foo-server
.The client subpackage, to be called
foo-client
.The
baz
development library subpackage, to be calledbazlib
.
The
bazlib
subpackage 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.