Наши партнеры

Книги по Linux (с отзывами читателей)

Библиотека сайта rus-linux.net

The %files List

The %files list indicates which files on the build system are to be packaged. The list consists of one file per line. If a directory is specified, by default all files and subdirectories will be packaged.
The %files list can be made specific to a particular subpackage by adding the subpackage name, and optionally, the -n option:
%files bar

%files -n bar

The subpackage name and usage of the -n option must match those defined with the %package directive.

The %files list can also use the contents of a file as the list of files to be packaged. This is done by using the -f option, which is then followed by a filename:
%files -f files.list

See also: the section called The %files List in Chapter 13.

Если вам понравилась статья, поделитесь ею с друзьями: