From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 24 Dec 2009 03:26:42 +0300 From: Alexey Tourbin To: ALT Devel discussion list Message-ID: <20091224002642.GD9864@altlinux.org> Mail-Followup-To: ALT Devel discussion list References: <20091221154028.9681B2D7602E@ssh.git.orion.altlinux.org> <20091221233616.GN9864@altlinux.org> <20091222080556.GP9864@altlinux.org> <20091222181849.GB23811@wo.int.altlinux.org> <20091223021147.GX9864@altlinux.org> <20091223111253.GB3966@wo.int.altlinux.org> <20091223201100.GA9864@altlinux.org> <20091223223027.GC9864@altlinux.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cWMyMvz3WpiqfrV1" Content-Disposition: inline In-Reply-To: <20091223223027.GC9864@altlinux.org> Subject: Re: [devel] forced noarch X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Dec 2009 00:26:43 -0000 Archived-At: List-Archive: List-Post: --cWMyMvz3WpiqfrV1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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? > >=20 > > rpmbuild itself cannot decide whether certain packages should be noarch. > > Consider my previous example with perl-Net-IP-1.25-alt3.noarch.rpm (yea= h, > > 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. >=20 > 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! --cWMyMvz3WpiqfrV1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAksytUIACgkQfBKgtDjnu0Zq7gCfVvpZ9195tuBYz9D9NVTJ72CP YVEAoMwuuzNLyLL0+Kb94lZfCKS+sayo =IbuV -----END PGP SIGNATURE----- --cWMyMvz3WpiqfrV1--