extras-buildsys/utils/pushscript epel4-createrepo, NONE, 1.1 Config_EPEL.py, 1.10, 1.11
Michael Schwendt (mschwendt)
fedora-extras-commits at redhat.com
Fri Sep 14 19:27:29 UTC 2007
- Previous message (by thread): rpms/verbiste/devel .cvsignore, 1.11, 1.12 sources, 1.11, 1.12 verbiste.spec, 1.17, 1.18
- Next message (by thread): rpms/rubygems/F-7 .cvsignore, 1.4, 1.5 rubygems.spec, 1.3, 1.4 sources, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mschwendt
Update of /cvs/fedora/extras-buildsys/utils/pushscript
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29939
Modified Files:
Config_EPEL.py
Added Files:
epel4-createrepo
Log Message:
For EPEL4 add a script that calls createrepo + yum-arch.
--- NEW FILE epel4-createrepo ---
#!/usr/bin/python
# -*- mode: Python; indent-tabs-mode: nil; -*-
import errno, sys
import Utils
createrepo = '/usr/bin/createrepo'
yumarch = '/usr/bin/yum-arch'
args = sys.argv[1:]
cmd = createrepo+' '+' '.join(args)
Utils.run_and_check(cmd)
# Delete some args when executing yum-arch.
newargs = []
c = 0
while c<len(args):
a = args[c]
if a=='-g' or a=='-c':
c += 2
else:
newargs.append(a)
c += 1
cmd = yumarch+' '+' '.join(newargs)
Utils.run_and_check(cmd)
sys.exit(0)
Index: Config_EPEL.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/utils/pushscript/Config_EPEL.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- Config_EPEL.py 8 Sep 2007 17:40:17 -0000 1.10
+++ Config_EPEL.py 14 Sep 2007 19:27:27 -0000 1.11
@@ -126,6 +126,10 @@
createrepo = '/usr/bin/createrepo -q'
+createrepo_dict = { '4' : '/srv/extras-push/work/buildsys-utils/pushscript/epel4-createrepo -q',
+ 'testing/4' : '/srv/extras-push/work/buildsys-utils/pushscript/epel4-createrepo -q',
+ }
+
cr_cachedir = '/tmp/repomd-cache-epel' # createrepo cachedir
#repoview = '/usr/bin/repoview'
- Previous message (by thread): rpms/verbiste/devel .cvsignore, 1.11, 1.12 sources, 1.11, 1.12 verbiste.spec, 1.17, 1.18
- Next message (by thread): rpms/rubygems/F-7 .cvsignore, 1.4, 1.5 rubygems.spec, 1.3, 1.4 sources, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list