[devel] forced noarch

Alexey Tourbin at на altlinux.ru
Чт Дек 24 00:26:42 UTC 2009


On Thu, Dec 24, 2009 at 01:30:27AM +0300, Alexey Tourbin wrote:
> On Wed, Dec 23, 2009 at 11:11:00PM +0300, Alexey Tourbin wrote:
> > On Wed, Dec 23, 2009 at 02:12:53PM +0300, Dmitry V. Levin wrote:
> > > Isn't it too hard indeed?  Maybe we could patch rpmbuild to make such
> > > packages noarch automatically?
> > 
> > rpmbuild itself cannot decide whether certain packages should be noarch.
> > Consider my previous example with perl-Net-IP-1.25-alt3.noarch.rpm (yeah,
> > it's been fixed).  It contains /usr/lib/perl5/vendor_perl/Net/IP.pm.
> > This is plain text file, but since it is under /usr/lib, we cannot
> > automatically decide whether it's good for noarch (e.g. it might have
> > platform-specific paths hardcoded into it).  So, to decide whether IP.pm
> > is good enough for noarch, we should build the package on both
> > architectures and ensure that IP.pm is exactly the same.
> 
> There's another option: to coerce packages into noarch posthumously.
> Which is to rename .i586.rpm -> .noarch.rpm and to edit the header.
> This will require girar-builder redesign, but it seems doable.

So let's make more noarch packages before I get drunk^W^W
switch to Natalie Portman!
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : отсутствует
Тип     : application/pgp-signature
Размер  : 198 байтов
Описание: отсутствует
Url     : <http://lists.altlinux.org/pipermail/devel/attachments/20091224/77b6d20d/attachment.bin>


Подробная информация о списке рассылки Devel