On Tue, Dec 22, 2009 at 09:18:49PM +0300, Dmitry V. Levin wrote: > On Tue, Dec 22, 2009 at 11:05:56AM +0300, Alexey Tourbin wrote: > [...] > > http://git.altlinux.org/people/at/packages/girar-builder.git > > 642af655 gb-task-check-noarch-i: force noarch by extensional equality > [...] > > 3) Cannot make arch package with identical files and deps. > > E.g. cannot make arch perl module which should be noarch. > > > > [at@people 17774]$ PATH=~/git.alt/girar-builder:$PATH gb-task-check-noarch-i 5 > > error (#5): perl-Net-IP-1.25-alt2.i586.rpm should be noarch > > This restriction looks too hard. How many packages in current > repository would fail to pass the check? Here is the full list of packages which should be made noarch. Due to rpm limitations, toplevel packages cannot be made noarch, though (those are marked with W). Note that this check does not check if /usr/share parts are identical (/usr/share parts should be identical by another rule). To force the package into noarch, non-/usr/share parts must be exactly the same, and of course dependencies must be identical, too.