taking options while installing rpm
Hello All,
I have a spec file as follows.
<spec file begin>
%name: product
%package sub-product
%requires: product
%files
/usr/shared/doc/product/README
%files sub-product
/usr/shared/doc/product/sub-product/README
<spec file end>
If I build this spec file then I'll get two rpms, one for product
and another for sub-product. I'll get sub-prodcut files, if I install
sub-product rpm only.
The question i have is, can i have a single RPM which includes all
(i.e. prodcut+ sub-product into a single rpm itself) and installs the
sub-product, too, along with the product based on some options passed
during the installation.
thanks
Bhavani
|