From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 20 Sep 2007 00:09:41 +0400 From: Alexey Tourbin To: devel@lists.altlinux.org Message-ID: <20070919200941.GO5297@solemn.turbinal> Mail-Followup-To: devel@lists.altlinux.org References: <20070912090618.GB5297@solemn.turbinal> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pOKJ83jRjLFIiXZf" Content-Disposition: inline In-Reply-To: <20070912090618.GB5297@solemn.turbinal> Subject: [devel] hal-gnome-0.5.9.1-alt2 python! python! X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.9 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: Wed, 19 Sep 2007 20:11:59 -0000 Archived-At: List-Archive: List-Post: --pOKJ83jRjLFIiXZf Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > hal-gnome-0.5.9.1-alt2 Requires python-module-pygtk-libglade > +hal-gnome-0.5.9.1-alt2 Requires python2.4(Const) > +hal-gnome-0.5.9.1-alt2 Requires python2.4(DeviceManager) > +hal-gnome-0.5.9.1-alt2 Requires python2.4(LibGladeApplication) > hal-gnome-0.5.9.1-alt2 Requires python2.4(dbus) > +hal-gnome-0.5.9.1-alt2 Requires python2.4(gnome) > hal-gnome-0.5.9.1-alt2 Requires python2.4(gobject) > hal-gnome-0.5.9.1-alt2 Requires python2.4(gtk) > +hal-gnome-0.5.9.1-alt2 Requires python2.4(pygtk) > hal-gnome-0.5.9.1-alt2 Requires(rpmlib) rpmlib(CompressedFileNames) <=3D= 3.0.4-1 =EB=CF=D2=CF=DE=C5 =D1 =D3=C4=C5=CC=C1=CC =C8=C1=CB =CB rpm-build-python, = =C9 =D4=C5=D0=C5=D2=D8 =D5 hal-gnome =D3=D7=CF=C9=C8 =D3=CF=C2=D3=D4=D7=C5=CE=CE=D9=C8 =C1=CE=CD=C5=D4=CF=D7 =CE=C5=D4=D5, =C1 = =D0=CF=CC=D5=DE=C1=C5=D4=D3=D1 =D7=D2=CF=C4=C5 =CB=C1=CB =D2=C1=DA =CB=C1= =CB =CE=C1=C4=CF. $ compare_packages -i -a -R repo/athlon/RPMS.hasher/hal-gnome-0.5.9.1-alt3.= athlon.rpm --- /tmp/.private/at/compare_packages.ZWPhz22467/1 2007-09-20 00:04:55= +0400 +++ /tmp/.private/at/compare_packages.ZWPhz22467/2 2007-09-20 00:04:54= +0400 @@ -1,11 +1,14 @@ coreutils =20 hal =3D 0.5.9.1-alt3 +python-base =20 python-module-pygnome =20 python-module-pygnome-bonobo =20 python-module-pygtk-libglade =20 python2.4(dbus) =20 +python2.4(gnome) =20 python2.4(gobject) =20 python2.4(gtk) =20 +python2.4(pygtk) =20 rpmlib(CompressedFileNames) <=3D 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <=3D 4.0-1 rpmlib(VersionedDependencies) <=3D 3.0.3-1 $ =F0=D2=C1=D7=C4=C1, =D1 =CE=C5 =DA=CE=C1=C0, =CE=C1=D3=CB=CF=CC=D8=CB=CF = =C8=CF=D2=CF=DB=C9=CA =DC=D4=CF=D4 =C8=C1=CB, =C9 =CB=C1=CB=C9=C5 =D5 =CE= =C5=C7=CF =C5=D3=D4=D8 =D0=CF=D4=C5=CE=C3=C9=C1=CC=D8=CE=D9=C5 drawback'=C9. =ED=CF=D6=C5=D4 =D5 = =CE=C1=D3 =D7=CF=C4=D1=D4=D3=D1 =D3=D0=C5=C3=C9=C1=CC=C9=D3=D4=D9 =CB=CF=D4= =CF=D2=D9=C5 =DE=D4=CF-=CE=C9=C2=D5=C4=D8 =D0=CF=CE=C9=CD=C1=C0=D4 =D7 =D0=C9=D4=CF=CE= =C5 =CE=C5 =CD=C5=CE=D8=DB=C5 =CD=C5=CE=D1? commit df59da5698468ab337d4daa8f5aab2c1441b3088 Author: Alexey Tourbin Date: Wed Sep 19 23:53:06 2007 +0400 python.req.py: first attempt to implement stronger self-requires elimin= ation diff --git a/rpm-build-python/python.req.py b/rpm-build-python/python.req.py index dabb1d5..797c367 100755 --- a/rpm-build-python/python.req.py +++ b/rpm-build-python/python.req.py @@ -126,6 +126,9 @@ else : # print d # for req in reqs : # print "\t",req + + all_prov_items =3D [] + map(lambda items: all_prov_items.extend(items), prov.values()) =20 for src in files : ext =3D os.path.splitext(os.path.basename(src))[1] @@ -139,7 +142,8 @@ else : print >> sys.stderr, 'python.req: error while parsing = %s' % src raise for item in match(lis) : - if not item in prov[os.path.dirname(src)] : + #if not item in prov[os.path.dirname(src)] : + if not item in all_prov_items : if not ignore(item) : print "%s(%s)" % (prefix,item) =20 --pOKJ83jRjLFIiXZf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFG8YIFfBKgtDjnu0YRAqLXAKDVdIp8UUNu3wzKkQm2Cen9ecIM+wCgh7kV 7+C2hcFN7BwBWSuOluIjBBY= =xtMk -----END PGP SIGNATURE----- --pOKJ83jRjLFIiXZf--