extras-buildsys/utils extras-repobuild.py,1.6,1.7

Ville Skytta (scop) fedora-extras-commits at redhat.com
Fri Nov 25 17:29:56 UTC 2005


Author: scop

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

Modified Files:
	extras-repobuild.py 
Log Message:
Make it actually run.


Index: extras-repobuild.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/utils/extras-repobuild.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- extras-repobuild.py	2 Nov 2005 16:54:58 -0000	1.6
+++ extras-repobuild.py	25 Nov 2005 17:29:53 -0000	1.7
@@ -41,7 +41,7 @@
         print msg
         
 
-def run_and_check(cmd)
+def run_and_check(cmd):
     debugprint(cmd)
     if not DEBUG:
         result = os.system(cmd)
@@ -76,7 +76,7 @@
     run_and_check(cmd)            
 
     # if there's a debug subdir, make that a repo, too.
-    dbg_repodir = os.path.join(destdir, arch, 'debug')
+    dbg_repodir = os.path.join(repodir, 'debug')
     dbg_rpdata = os.path.join(dbg_repodir, 'repodata')
     debugprint('removing tree %s' % dbg_rpdata)
 
@@ -104,6 +104,7 @@
 
     print "Making Repository Metadata"
 
+    repodir = os.path.join(destdir, 'SRPMS')
     do_repo_stuff(repodir)
 
     # arch repo creation




More information about the fedora-extras-commits mailing list