summaryrefslogtreecommitdiff
path: root/rpmbuild.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-09-01 13:37:37 +0300
committerPanu Matilainen <pmatilai@redhat.com>2010-09-01 13:37:37 +0300
commitbd9e1b9d9bafe7246a43297d5d148838c873a21d (patch)
treec5b560d95984f4d3d9f09244c0fd0bd19d103f8c /rpmbuild.c
parent05dd62aba9c6bab44ba55ff1266ec9126b2f8874 (diff)
downloadlibrpm-tizen-bd9e1b9d9bafe7246a43297d5d148838c873a21d.tar.gz
librpm-tizen-bd9e1b9d9bafe7246a43297d5d148838c873a21d.tar.bz2
librpm-tizen-bd9e1b9d9bafe7246a43297d5d148838c873a21d.zip
Replace buildSpec() with a new interface in the API
- Accept the entire build arguments structure along with a spec, these contain everything that we'll need - Just a convenience wrapper for buildSpec() for now, more things to follow... - Update the sole existing caller accordingly
Diffstat (limited to 'rpmbuild.c')
-rw-r--r--rpmbuild.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmbuild.c b/rpmbuild.c
index e58ed3fe7..cd9db7c65 100644
--- a/rpmbuild.c
+++ b/rpmbuild.c
@@ -290,7 +290,7 @@ static int buildForTarget(rpmts ts, const char * arg, BTA_t ba)
goto exit;
}
- if (buildSpec(ts, spec, buildAmount, ba->noBuild)) {
+ if (rpmSpecBuild(ba, spec)) {
goto exit;
}