summaryrefslogtreecommitdiff
path: root/build/spec.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-12-21 20:37:37 +0000
committerjbj <devnull@localhost>2002-12-21 20:37:37 +0000
commit1f6cdca2d549e02f3e65afa27b80cb852e283cd2 (patch)
treec5dc26a5bb2bd0d112194a325221f14b5f0bbd70 /build/spec.c
parentb2402702ae91a73f7e4a4787b6a170357e219533 (diff)
downloadlibrpm-tizen-1f6cdca2d549e02f3e65afa27b80cb852e283cd2.tar.gz
librpm-tizen-1f6cdca2d549e02f3e65afa27b80cb852e283cd2.tar.bz2
librpm-tizen-1f6cdca2d549e02f3e65afa27b80cb852e283cd2.zip
- add --enable-posixmutexes when configuring on linux.
- add rpmdb_{deadlock,dump,load,svc,stat,verify} utilities. - include srpm pkgid in binary headers (#71460). - add %check scriptlet to run after %install (#64137). CVS patchset: 5957 CVS date: 2002/12/21 20:37:37
Diffstat (limited to 'build/spec.c')
-rw-r--r--build/spec.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/build/spec.c b/build/spec.c
index 9b830072c..686d90487 100644
--- a/build/spec.c
+++ b/build/spec.c
@@ -418,7 +418,6 @@ Spec newSpec(void)
Spec spec = xcalloc(1, sizeof(*spec));
spec->specFile = NULL;
- spec->sourceRpmName = NULL;
spec->sl = newSl();
spec->st = newSt();
@@ -439,6 +438,7 @@ Spec newSpec(void)
spec->prep = NULL;
spec->build = NULL;
spec->install = NULL;
+ spec->check = NULL;
spec->clean = NULL;
spec->sources = NULL;
@@ -446,8 +446,9 @@ Spec newSpec(void)
spec->noSource = 0;
spec->numSources = 0;
+ spec->sourceRpmName = NULL;
+ spec->sourcePkgId = NULL;
spec->sourceHeader = NULL;
-
spec->sourceCpioList = NULL;
spec->gotBuildRootURL = 0;
@@ -484,13 +485,13 @@ Spec freeSpec(Spec spec)
spec->prep = freeStringBuf(spec->prep);
spec->build = freeStringBuf(spec->build);
spec->install = freeStringBuf(spec->install);
+ spec->check = freeStringBuf(spec->check);
spec->clean = freeStringBuf(spec->clean);
spec->buildRootURL = _free(spec->buildRootURL);
spec->buildSubdir = _free(spec->buildSubdir);
spec->rootURL = _free(spec->rootURL);
spec->specFile = _free(spec->specFile);
- spec->sourceRpmName = _free(spec->sourceRpmName);
#ifdef DEAD
{ struct OpenFileInfo *ofi;
@@ -515,6 +516,8 @@ Spec freeSpec(Spec spec)
rl = _free(rl);
}
+ spec->sourceRpmName = _free(spec->sourceRpmName);
+ spec->sourcePkgId = _free(spec->sourcePkgId);
spec->sourceHeader = headerFree(spec->sourceHeader);
if (spec->sourceCpioList) {