extras-buildsys/utils/pushscript ToStable.py,1.3,1.4

Michael Schwendt (mschwendt) fedora-extras-commits at redhat.com
Thu Aug 23 13:12:42 UTC 2007


Author: mschwendt

Update of /cvs/fedora/extras-buildsys/utils/pushscript
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19431

Modified Files:
	ToStable.py 
Log Message:
handle debuginfo pkgs correctly


Index: ToStable.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/utils/pushscript/ToStable.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ToStable.py	23 Aug 2007 12:57:20 -0000	1.3
+++ ToStable.py	23 Aug 2007 13:12:40 -0000	1.4
@@ -109,7 +109,10 @@
             for (repoarch,rpms) in pkgsets[srcrpm].iteritems():
                 for f in rpms:
                     basename = os.path.basename(f)
-                    destpath = os.path.join(cfg.treedir,destdist,repoarch,basename)
+                    if basename.find('-debuginfo-')>0:
+                        destpath = os.path.join(cfg.treedir,destdist,repoarch,'debug',basename)
+                    else:
+                        destpath = os.path.join(cfg.treedir,destdist,repoarch,basename)
                     print '     ',basename,'->',repoarch
                     Utils.install_move(f,destpath)
 




More information about the fedora-extras-commits mailing list