1. 为什么?
Subpackages exist to handle cases where you don’t want to associate one spec file with one package.
2. 怎么做?
a.
%package sub_package_name
By default, the name of the subpackage will be the name of the package, a dash, and the subpackage name provided with the %package directive.
%package server
The subpackage name will be telnet-server.
If you don’t want this naming format, you can use the –n option to the %package directive to define an entirely new name, using the following syntax:
%package -n new_sub_package_name
for example:
%package –n my-telnet-server
阅读(689) | 评论(0) | 转发(0) |