2017-10-13 99 views
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

回答