summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-02-11 22:02:29 +0000
committerjbj <devnull@localhost>2001-02-11 22:02:29 +0000
commit2be9ecf0eb0f5f4afe10d0cb2b096d7442d5f2f7 (patch)
tree4193de18866516e23f5155933d0b31bf70ad2a44 /build
parenteccb6f66fc6cc5ecdebf40a6a8150a804f870fe5 (diff)
downloadlibrpm-tizen-2be9ecf0eb0f5f4afe10d0cb2b096d7442d5f2f7.tar.gz
librpm-tizen-2be9ecf0eb0f5f4afe10d0cb2b096d7442d5f2f7.tar.bz2
librpm-tizen-2be9ecf0eb0f5f4afe10d0cb2b096d7442d5f2f7.zip
1st stab at --repackage.
CVS patchset: 4545 CVS date: 2001/02/11 22:02:29
Diffstat (limited to 'build')
-rw-r--r--build/files.c2
-rw-r--r--build/pack.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/build/files.c b/build/files.c
index 111d398b8..057b8d92d 100644
--- a/build/files.c
+++ b/build/files.c
@@ -1150,7 +1150,7 @@ static void genCpioListAndHeader(struct FileList *fl, TFI_t *cpioList,
fi->actions[i] = FA_SKIP;
continue;
}
- fi->actions[i] = FA_CREATE;
+ fi->actions[i] = FA_COPYOUT;
fi->fuids[i] = flp->fl_uid;
fi->fgids[i] = flp->fl_gid;
fi->fmapflags[i] =
diff --git a/build/pack.c b/build/pack.c
index 1dec9b2ca..3a75da36a 100644
--- a/build/pack.c
+++ b/build/pack.c
@@ -471,7 +471,7 @@ int writeRPM(Header *hdrp, const char *fileName, int type,
lead.osnum = osnum;
lead.signature_type = RPMSIG_HEADERSIG; /* New-style signature */
- { const char *name, *version, *release;
+ { const char *name, *version, *release;
headerNVR(h, &name, &version, &release);
sprintf(buf, "%s-%s-%s", name, version, release);
strncpy(lead.name, buf, sizeof(lead.name));