aboutsummaryrefslogtreecommitdiffstats
path: root/RepSys/rpmutil.py
diff options
context:
space:
mode:
authorBogdano Arendartchuk <bogdano@mandriva.org>2007-06-17 15:07:25 +0000
committerBogdano Arendartchuk <bogdano@mandriva.org>2007-06-17 15:07:25 +0000
commitb1d0787e062a976b33113f08e12c6d9193dbd2e7 (patch)
treeb560b695018a9801cdba8bf01b8808d6815cd9a1 /RepSys/rpmutil.py
parent1764e182d9cf9937ad78a1452fe48c167372fc1a (diff)
downloadmgarepo-b1d0787e062a976b33113f08e12c6d9193dbd2e7.tar
mgarepo-b1d0787e062a976b33113f08e12c6d9193dbd2e7.tar.gz
mgarepo-b1d0787e062a976b33113f08e12c6d9193dbd2e7.tar.bz2
mgarepo-b1d0787e062a976b33113f08e12c6d9193dbd2e7.tar.xz
mgarepo-b1d0787e062a976b33113f08e12c6d9193dbd2e7.zip
Perform less svn operations in getsrpm and rpmlog
- don't export SPECS/ when current/ is already exported - don't check for the presence of a path that will be exported in the same code, let it raise one exception - complain when no changelogs are found inside SPECS/
Diffstat (limited to 'RepSys/rpmutil.py')
-rw-r--r--RepSys/rpmutil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/RepSys/rpmutil.py b/RepSys/rpmutil.py
index bd75254..559b64c 100644
--- a/RepSys/rpmutil.py
+++ b/RepSys/rpmutil.py
@@ -77,7 +77,7 @@ def get_srpm(pkgdirurl,
if svnlog:
submit = not not revision
specfile_svn2rpm(pkgdirurl, spec, revision, submit=submit,
- template=template, macros=macros)
+ template=template, macros=macros, exported=tmpdir)
#FIXME revisioreal not needed if revision is None
#FIXME use geturl instead of pkgdirurl
revisionreal = svn.revision(pkgdirurl)