summaryrefslogtreecommitdiff
path: root/rpmbuild.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-09-02 14:39:11 +0300
committerPanu Matilainen <pmatilai@redhat.com>2010-09-02 14:39:11 +0300
commit4505fb312dac0c1e186687a790a81a9c9285a7f4 (patch)
treec9ec17125fa668ae203efc332b2ccc0108f4bf28 /rpmbuild.c
parent6fcc1adf9ed140eec75aeba2a72e0bcc5419b43b (diff)
downloadrpm-4505fb312dac0c1e186687a790a81a9c9285a7f4.tar.gz
Swap rpmSpecBuild() arguments for consistency with other APIs
- What we're building comes first, /how/ we're building comes second - Update the sole caller, doesn't matter as this is a new interface...
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 fe604bac9..a8b6b80e5 100644
--- a/rpmbuild.c
+++ b/rpmbuild.c
@@ -472,7 +472,7 @@ static int buildForTarget(rpmts ts, const char * arg, BTA_t ba)
goto exit;
}
- if (rpmSpecBuild(ba, spec)) {
+ if (rpmSpecBuild(spec, ba)) {
goto exit;
}