0
在此之后教程Spec File Changes For Subpackages我能够用一个单一的构建做下面的代码创建两个RPM打造的.spec文件中定义的子包:如何使用CPACK
我的规范文件是一样的东西:
Name: @[email protected]
License: the license
Summary: the summary
Group: Applications
Version: @[email protected]@[email protected]@[email protected]
Release: @[email protected]
%description
the description...
%package utils
Summary: the utils
Group: Applications
%description utils
description for the utils
%files
...
%files utils
different files
打字rpmbuild -ba filename.spec
它创建了两个RPM(一个用于主包装,一个用于子包装utils)。我怎样才能达到相同的使用include(CPACK)
,然后打字make package
?