Mombu the GNU Linux Forum

  Mombu the GNU Linux Forum > GNU_Linux > taking options while installing rpm


User Name
Password
REGISTER NOW! Search Today's Posts Mark Forums Read


Reply
 
Thread Tools Search this Thread Display Modes
1 19th May 19:10
gangabhavanik
External User
 
Posts: 1
Default 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
  Reply With Quote
SPONSORED LINKS BY GOOGLE

 


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes







Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
Also visit Ogoun the Usenet Archive
666