From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 31 Aug 2006 01:01:06 +0400 From: Alexey Tourbin To: ALT Devel discussion list Message-ID: <20060830210106.GH11420@localhost.localdomain> 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> <20060830164352.GA32596@basalt.office.altlinux.org> <20060830201207.GE10840@procyon.home> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4LFBTxd4L5NLO6ly" Content-Disposition: inline In-Reply-To: <20060830201207.GE10840@procyon.home> 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 21:01:22 -0000 Archived-At: List-Archive: List-Post: --4LFBTxd4L5NLO6ly Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 31, 2006 at 12:12:07AM +0400, Sergey Vlasov wrote: > > > 148 cat "$WORKDIR/packages" | > > > 149 xargs -r rpmquery --qf '[%{REQUIRENAME}\n]' -- | =20 > > > 150 sort -u >"$WORKDIR/reqs" > >=20 > > reqs - =DC=D4=CF =D7=D3=C5 requires =D0=C1=CB=C5=D4=CF=D7 packages. >=20 > =F7=CF=D4 =DA=C4=C5=D3=D8 =D7=CD=C5=D3=D4=CF =DC=D4=CF=C7=CF =CD=CF=D6=CE= =CF =D0=CF=D3=D4=D2=CF=C9=D4=D8 =D3=D0=C9=D3=CF=CB =D0=C1=D2 =D7=C9=C4=C1 > "PackageName RequireName". >=20 > > > 152 cat "$WORKDIR/packages" | > > > 153 xargs -r rpmquery --qf '[%{PROVIDENAME}\t%{NAME}\n]' = -- | > > > 154 sort -k2,2 -k1,1 -u >"$WORKDIR/provs" > >=20 > > 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". >=20 > =E4=C1=CC=C5=C5 join =D0=CF reqs.RequireName =3D=3D provs.ProvideName =C4= =C1=D3=D4 =D3=D0=C9=D3=CF=CB =D0=C1=D2 > "PackageName -> RequiredPackageName" (=CE=C1=DA=CF=D7=A3=CD =C5=C7=CF dep= s) - =DA=C1=D7=C9=D3=C9=CD=CF=D3=D4=C9 > =CD=C5=D6=C4=D5 =D0=C1=CB=C5=D4=C1=CD=C9. =FC=D4=CF=D4 =D3=D0=C9=D3=CF=CB deps -- =CB=C1=CE=C4=C9=C4=C1=D4 =CE=C1 =D4= =CF=D0=CF=CC=CF=C7=C9=DE=C5=D3=CB=D5=C0 =D3=CF=D2=D4=C9=D2=CF=D7=CB=D5 -- t= sort(1). =F0=D2=C1=D7=C4=C1, tsort =CE=C5 =D5=CD=C5=C5=D4 *=CD=CF=CC=DE=C1* =D2=C1= =DA=D2=D9=D7=C1=D4=D8 =C3=C9=CB=CC=D9. =EE=CF =DC=D4=CF=CA =CF=D3=CF=C2=C5= =CE=CE=CF=D3=D4=D8=C0 tsort =D7 =CF=C2=DD=C5=CD-=D4=CF =CD=CF=D6=CE=CF =D0=D2=C5=CE=C5=C2=D2=C5= =DE=D8. =F1 =D7=DE=C5=D2=C1 =CD=CE=CF=C7=CF =C4=D5=CD=C1=CC, =CB=C1=CB =D7=D3=A3 = =DC=D4=CF =CD=CF=D6=CE=CF =D3=C4=C5=CC=C1=D4=D8, =C1 =D3=C5=C7=CF=C4=CE=D1 = =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5. --4LFBTxd4L5NLO6ly Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFE9fySfBKgtDjnu0YRAudDAJ9mJCAz52VSAya4dJhLzpJhbzdneQCg59zK suOZAqaal/FVBdFo0LBKjqg= =I0Nw -----END PGP SIGNATURE----- --4LFBTxd4L5NLO6ly--