multiple %install for sub packages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



My brain needs a little help here.  I have a few different iptables 
configuration files that I'd like to make into different sub packages.

iptables-cfg-A.rpm
iptables-cfg-B.rpm
etc, etc.

They would be small RPMs, and would only have a file that exists as 
/etc/sysconfig/iptables, however, for each subpackage, the contents of 
/etc/sysconfig/iptables is different.


I can't figure out a way to have multiple subpackages point to the same 
filename, (these files have different contents).

Doing an %install <subpackage> doesn't work.. Maybe using multiple 
buildroots?


I was also thinking I could just install all 3 and just link the right 
one, but that's not the best idea..

Thanks for any help.

James S. Martin, RHCE
Contractor
Administrative Office of the United States Courts
Washington, DC
(202) 502-2394


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux