Библиотека сайта rus-linux.net
rpmrc file is used to control RPM's actions. The
file's entries have an effect on nearly every aspect of RPM's operations.
Here, we describe the
rpmrc files in more detail, as
well as the command used to show how RPM interprets the files.
As we'll see in a moment, RPM can read more than one
rpmrc file, and each file can contain nearly thirty
different types of entries. This can make it difficult to determine what
values RPM is actually using.
Luckily, there's an option that can be used to help make sense of it all. The --showrc option displays the value for each of the entries. The output is divided into two sections:
Architecture and operating system values.
The architecture and operating system values define the architecture and operating system that RPM is running on. These values define the environment for both building and installing packages. They also define which architectures and operating systems are compatible with each other.
rpmrc values define many aspects of RPM's
operation. These values range from the path to RPM's database, to the
name of the person listed as having built the package.
As you can see, the --showrc option clearly displays
the values RPM will use. --showrc can also be used
with the --rcfile option, which makes it easy to see
the effect of specifying a different