Subpackages with different architectures

Ed Hill ed at eh3.com
Sat Jan 14 19:47:18 UTC 2006


On Sat, 2006-01-14 at 21:26 +0330, Roozbeh Pournader wrote:
> 
> I tried packaging the formula support as a subpackage, but I can't
> make the main package noarch and the -math subpackage arch-dependent. I
> have three choices:
> 
> 1) Get along with an arch-independent RPM package marked as
> arch-dependent.
> 
> 2) Forget subpackages and make them one RPM with unified dependencies.
> 
> 3) Make these two different SPEC files. (This would create a burden on
> me for maintaining the two in sync, so I guess I should only do this if 
> the other two options are unacceptable.)
> 
> What do you think I should do? Or am I missing a fourth and better path?

Hi Roozbeh,

The #3 option was chosen for the moin and moin-latex packages, which
have only vaguely similar circumstances (they're actually both noarch).
While it does take a little more effort, #3 probably isn't so difficult
to maintain.  And by splitting into noarch and arch-specific you can let
users choose whether they want the math support and its additional
dependencies or not.

But, ultimately, its your choice if you're packaging it.  :-)

Ed

-- 
Edward H. Hill III, PhD
office:  MIT Dept. of EAPS;  Rm 54-1424;  77 Massachusetts Ave.
             Cambridge, MA 02139-4307
emails:  eh3 at mit.edu                ed at eh3.com
URLs:    http://web.mit.edu/eh3/    http://eh3.com/
phone:   617-253-0098
fax:     617-253-4464




More information about the fedora-extras-list mailing list