diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-09-01 14:00:54 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-09-01 14:00:54 +0300 |
commit | 4acb8866ef8b232b736b84a68b2701070439a6f4 (patch) | |
tree | d71688c0e5f96258d89c8690a0eae1bbda37137a /rpmbuild.c | |
parent | 628de71cdebf8ed8cb1574b39de6fe0150dd65fb (diff) | |
download | librpm-tizen-4acb8866ef8b232b736b84a68b2701070439a6f4.tar.gz librpm-tizen-4acb8866ef8b232b736b84a68b2701070439a6f4.tar.bz2 librpm-tizen-4acb8866ef8b232b736b84a68b2701070439a6f4.zip |
Eliminate cookie from spec structure
- Cookies are not a property of spec but a given build, handle this
internally to buildSpec() except for --rebuild which passes the
srpm identifier cookie through buildArgs
Diffstat (limited to 'rpmbuild.c')
-rw-r--r-- | rpmbuild.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rpmbuild.c b/rpmbuild.c index cd9db7c65..ee130bd93 100644 --- a/rpmbuild.c +++ b/rpmbuild.c @@ -196,7 +196,6 @@ exit: static int buildForTarget(rpmts ts, const char * arg, BTA_t ba) { - const char * cookie = ba->cookie; int buildAmount = ba->buildAmount; char * buildRootURL = NULL; char * specFile = NULL; @@ -276,7 +275,7 @@ static int buildForTarget(rpmts ts, const char * arg, BTA_t ba) #define _anyarch(_f) \ (((_f)&(RPMBUILD_PREP|RPMBUILD_BUILD|RPMBUILD_INSTALL|RPMBUILD_PACKAGEBINARY)) == 0) if (parseSpec(ts, specFile, ba->rootdir, buildRootURL, 0, NULL, - cookie, _anyarch(buildAmount), ba->force)) + NULL, _anyarch(buildAmount), ba->force)) { goto exit; } |