summaryrefslogtreecommitdiff
path: root/build/pack.c
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/pack.c
parenteccb6f66fc6cc5ecdebf40a6a8150a804f870fe5 (diff)
downloadrpm-2be9ecf0eb0f5f4afe10d0cb2b096d7442d5f2f7.tar.gz
rpm-2be9ecf0eb0f5f4afe10d0cb2b096d7442d5f2f7.tar.bz2
rpm-2be9ecf0eb0f5f4afe10d0cb2b096d7442d5f2f7.zip
1st stab at --repackage.
CVS patchset: 4545 CVS date: 2001/02/11 22:02:29
Diffstat (limited to 'build/pack.c')
-rw-r--r--build/pack.c2
1 files changed, 1 insertions, 1 deletions
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));