[CentOS-devel] RPMS and REPOS and REPO-Linkages

Tue Nov 14 00:05:05 UTC 2006
Karanbir Singh <mail-lists at karan.org>

When an rpm is built for CentOS-Extras or CentOS-Plus, is it safe to 
assume that people using these repo's only use them for specific rpms ( 
eg, someone with a stock CentOS install might use the CentOS-Plus repo 
for php-5 and only php-5 ) or are most people enabling the entire repo ?

This question comes from the idea of when building a package, should a 
rpm, hosted in CentOS-Plus link against only [base]+[updates] and only 
use the minimum possible set of packages from [centosplus] ? So as to 
have a situation wherein you can use selective packages from 
CentOS-Plus, while not needing any support stuff from there ( eg. 
postfix-mysql in CentOS-Plus should link against mysql-4.1 since thats 
whats in [base] rather than mysql-5 which is in CentOS Plus )

This does create a risk that we might end up creating packages that are 
themselves incompatible with other packages from the same repository, 
but work fine when used with the [base] packages for the same functionality.

The other option is to have the entire CentOS-Plus repo enabled for any 
packages built for the same repo, which might mean that using php-5 from 
  CentOS-Plus needs MySQL-5 and pgsql-8 from CentOS Plus also installed.

Comments ?

- KB
-- 
Karanbir Singh : http://www.karan.org/ : 2522219 at icq