diff options
author | ewt <devnull@localhost> | 1996-08-31 18:37:25 +0000 |
---|---|---|
committer | ewt <devnull@localhost> | 1996-08-31 18:37:25 +0000 |
commit | e28490df04968667ae0e3f55a70f6e8e7b67b204 (patch) | |
tree | 64500f0521e24e57a28f01c842efe8a30c46fe77 /build | |
parent | d5378e6c93c4d2d6d5e8d578170d7d05bc2e4ced (diff) | |
download | rpm-e28490df04968667ae0e3f55a70f6e8e7b67b204.tar.gz rpm-e28490df04968667ae0e3f55a70f6e8e7b67b204.tar.bz2 rpm-e28490df04968667ae0e3f55a70f6e8e7b67b204.zip |
add RPMTAG_RPMVERSION to headers
CVS patchset: 1011
CVS date: 1996/08/31 18:37:25
Diffstat (limited to 'build')
-rw-r--r-- | build/pack.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/build/pack.c b/build/pack.c index 0b943fb76..238c7f6bd 100644 --- a/build/pack.c +++ b/build/pack.c @@ -475,6 +475,7 @@ int packageBinaries(Spec s, char *passPhrase, int doPackage) addEntry(outHeader, RPMTAG_BUILDTIME, INT32_TYPE, getBuildTime(), 1); addEntry(outHeader, RPMTAG_BUILDHOST, STRING_TYPE, buildHost(), 1); addEntry(outHeader, RPMTAG_SOURCERPM, STRING_TYPE, sourcerpm, 1); + addEntry(outHeader, RPMTAG_RPMVERSION, STRING_TYPE, VERSION, 1); if (pr->icon) { sprintf(filename, "%s/%s", getVar(RPMVAR_SOURCEDIR), pr->icon); stat(filename, &statbuf); @@ -700,6 +701,7 @@ int packageSource(Spec s, char *passPhrase) addEntry(outHeader, RPMTAG_ARCH, STRING_TYPE, getArchName(), 1); addEntry(outHeader, RPMTAG_BUILDTIME, INT32_TYPE, getBuildTime(), 1); addEntry(outHeader, RPMTAG_BUILDHOST, STRING_TYPE, buildHost(), 1); + addEntry(outHeader, RPMTAG_RPMVERSION, STRING_TYPE, VERSION, 1); if (scount) addEntry(outHeader, RPMTAG_SOURCE, STRING_ARRAY_TYPE, sources, scount); if (pcount) |