any policy for cross arch packages (-lib packages)

Elan Ruusamäe glen at delfi.ee
Mon Feb 13 09:48:02 CET 2006


hi

if you want to install two arch packages (amd64 & athlon) then there's cases when you 
install package which contains %{_libdir} files and %config files. 
as a result of install such package (upgrading both arches) the %config files are created .rpmnew:

   5:pango                  ########################################### [ 21%]
   6:gtk+2                  ########################################### [ 25%]
   7:pango                  
warning: /etc/pango/pangox.aliases created as /etc/pango/pangox.aliases.rpmnew
		            ########################################### [ 29%]
  12:heimdal-libs           ########################################### [ 50%]
  13:heimdal-libs           
warning: /etc/heimdal/krb5.conf created as /etc/heimdal/krb5.conf.rpmnew
   		     	    ########################################### [ 54%]

# q -qf /etc/pango/pangox.aliases
pango-1.10.3-1.athlon
pango-1.10.3-1.amd64
# q -qf /etc/heimdal/krb5.conf
heimdal-libs-0.7.2-1.athlon
heimdal-libs-0.7.2-1.amd64

prposition: 
1. make rule that -libs file may not contain anything else outside %{_libdir} (that should include %doc too)
2. make rule that packages whose libraries are used outside the same package will have -libs subpackage.

-- 
glen


More information about the pld-devel-en mailing list