From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 30 Aug 2006 20:43:52 +0400 From: "Dmitry V. Levin" To: ALT Devel discussion list Message-ID: <20060830164352.GA32596@basalt.office.altlinux.org> Mail-Followup-To: ALT Devel discussion list References: <20060830145857.GA11420@localhost.localdomain> <20060830150142.GA29125@basalt.office.altlinux.org> <20060830151053.GB11420@localhost.localdomain> <20060830152946.GC30667@basalt.office.altlinux.org> <20060830160036.GC11420@localhost.localdomain> <20060830161050.GA31919@basalt.office.altlinux.org> <20060830162849.GD11420@localhost.localdomain> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="envbJBWh7q8WU6mo" Content-Disposition: inline In-Reply-To: <20060830162849.GD11420@localhost.localdomain> X-fingerprint: FE4C 93AB E19A 2E4C CB5D 3E4E 7CAB E6AC 9E35 361E Subject: Re: [devel] =?koi8-r?b?z9DUyc3J2sHDydEg08LP0s/eztnIINrB18nTyc3P09TF?= =?koi8-r?b?yg==?= X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Aug 2006 16:43:53 -0000 Archived-At: List-Archive: List-Post: --envbJBWh7q8WU6mo Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 30, 2006 at 08:28:49PM +0400, Alexey Tourbin wrote: > On Wed, Aug 30, 2006 at 08:10:50PM +0400, Dmitry V. Levin wrote: > > > (=E1=CC=C7=CF=D2=C9=D4=CD =CF=D0=D4=C9=CD=C9=DA=C1=C3=C9=C9 BuildRequ= ires =CF=C2=D3=D5=D6=C4=C1=CC=D3=D1 =D7=DE=C5=D2=C1 =D7 =DE=C1=D3=D4=CE=CF= =CA > > > =D0=C5=D2=C5=D0=C9=D3=CB=C5. =F0=D2=C1=D7=C4=C1, =D3=D0=D2=CF=D3=CF= =CE=D8=D1 =D1 =D0=CF=D4=C5=D2=D1=CC =CB =CE=C5=CD=D5 =C9=CE=D4=C5=D2=C5=D3.= =E5=D3=CC=C9 =DC=D4=CF > > > =C9=CE=D4=C5=D2=C5=D3=CE=CF =CB=CF=CD=D5-=D4=CF =C5=DD=A3, =D4=CF=C7= =C4=C1 =CD=CF=D6=CE=CF =D0=C5=D2=C5=CE=C5=D3=D4=C9 =CF=C2=D3=D5=D6=C4=C5=CE= =C9=C5 =D3=C0=C4=C1.) > >=20 > > =E4=D5=CD=C1=C0, =DE=D4=CF =CC=D5=DE=DB=C5 =D0=C5=D2=C5=CE=C5=D3=D4=C9 = =D3=C0=C4=C1 - =D7=C4=D2=D5=C7 =D3=D2=C5=C4=C9 =CE=C1=D3 =C5=D3=D4=D8 =D3= =D0=C5=C3=C9=C1=CC=C9=D3=D4/=D0=D2=C1=CB=D4=C9=CB > > =D0=CF =D4=C5=CF=D2=C9=C9 =C7=D2=C1=C6=CF=D7? >=20 > =F4=CF=C7=C4=C1 =D0=CF=D7=D4=CF=D2=C0 =D7=CF=D0=D2=CF=D3. >=20 > 145 "$PACKAGEOF" -f "$WORKDIR/files" >"$WORKDIR/packages" > 146 sort -u -o "$WORKDIR/packages" "$WORKDIR/packages" packages - =DC=D4=CF =D3=D0=C9=D3=CF=CB =C9=CD=A3=CE =D0=C1=CB=C5=D4=CF=D7,= =CB=CF=D4=CF=D2=D9=C5 =C9=D3=D0=CF=CC=D8=DA=CF=D7=C1=CC=C9=D3=D8 =C4=CC=D1= =D3=C2=CF=D2=CB=C9 =D0=CF=D3=D2=C5=C4=D3=D4=D7=CF=CD files. > 148 cat "$WORKDIR/packages" | > 149 xargs -r rpmquery --qf '[%{REQUIRENAME}\n]' -- | =20 > 150 sort -u >"$WORKDIR/reqs" reqs - =DC=D4=CF =D7=D3=C5 requires =D0=C1=CB=C5=D4=CF=D7 packages. > 152 cat "$WORKDIR/packages" | > 153 xargs -r rpmquery --qf '[%{PROVIDENAME}\t%{NAME}\n]' -- | > 154 sort -k2,2 -k1,1 -u >"$WORKDIR/provs" provs - =DC=D4=CF =D7=D3=A3 provides =D0=C1=CB=C5=D4=CF=D7 packages =D7 =D7= =C9=C4=C5 =D0=C1=D2 "ProvideName PackageName". > 156 comm -23 "$WORKDIR/packages" "$WORKDIR/reqs" >"$WORKDIR/package-r= eqs" package-reqs - =DC=D4=CF =D0=C1=CB=C5=D4=D9 packages =DA=C1 =D7=D9=DE=C5=D4= =CF=CD =D4=C5=C8, =C9=CD=C5=CE=C1 =CB=CF=D4=CF=D2=D9=C8 =D3=CF=D7=D0=C1=CC= =C9 =D3 requires =D0=C1=CB=C5=D4=CF=D7 packages. =F7 =DE=C1=D3=D4=CE=CF=D3=D4=C9, = =DC=D4=C1 =CF=D0=C5=D2=C1=C3=C9=D1 =D7=D9=CB=C9=C4=D9=D7=C1=C5=D4 =D0=D2=CF= =D3=D4=D9=C5 =C3=C9=CB=CC=D9 =C3=C5=CC=C9=CB=CF=CD. > 158 join -1 1 -2 2 -o 1.1 "$WORKDIR/reqs" "$WORKDIR/provs" | > 159 sort -u >"$WORKDIR/reqs_provs" reqs_provs - =DC=D4=CF =D4=C5 requires =D0=C1=CB=C5=D4=CF=D7 packages, =CB= =CF=D4=CF=D2=D9=C5 =C5=D3=D4=D8 =D3=D2=C5=C4=C9 provides =D0=C1=CB=C5=D4=CF=D7 packages. > 160 comm -23 "$WORKDIR/package-reqs" "$WORKDIR/reqs_provs" \ > 161 >"$WORKDIR/package-reqs-provs" package-reqs-provs - =DC=D4=CF =D0=C1=CB=C5=D4=D9 package-reqs =DA=C1 =D7= =D9=DE=C5=D4=CF=CD =D4=C5=C8, =C9=CD=C5=CE=C1 =CB=CF=D4=CF=D2=D9=C8 =D3=CF=D7=D0=C1=CC=C9 =D3 requires, =D0=C5=D2=C5=DE=C9=D3=CC=C5=CE=CE=D9=CD= =C9 =D7 reqs_provs. =F7 =DE=C1=D3=D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--=20 ldv --envbJBWh7q8WU6mo Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFE9cBIfKvmrJ41Nh4RAji3AJ9agSsLN7tIMEeeo9RPmjf66abjkQCdEuZX IO3KiCVacaEsOKWl2kMw7KQ= =iPHS -----END PGP SIGNATURE----- --envbJBWh7q8WU6mo--