summaryrefslogtreecommitdiff
path: root/build/pack.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-08-27 19:18:25 +0000
committerjbj <devnull@localhost>2000-08-27 19:18:25 +0000
commita131131381d03cd76c1e6d15ab5b3486ed6f17b3 (patch)
treea8c31b435ff494b028e8f1f5ba2a1d8b6d9fc563 /build/pack.c
parent918188a90c4911652bbcbe1f20a09b3123d2b5fa (diff)
downloadlibrpm-tizen-a131131381d03cd76c1e6d15ab5b3486ed6f17b3.tar.gz
librpm-tizen-a131131381d03cd76c1e6d15ab5b3486ed6f17b3.tar.bz2
librpm-tizen-a131131381d03cd76c1e6d15ab5b3486ed6f17b3.zip
Doxygen annotations.
CVS patchset: 4130 CVS date: 2000/08/27 19:18:25
Diffstat (limited to 'build/pack.c')
-rw-r--r--build/pack.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/build/pack.c b/build/pack.c
index 4603d7338..f5463b78e 100644
--- a/build/pack.c
+++ b/build/pack.c
@@ -1,4 +1,5 @@
-/** \file build/pack.c
+/** \ingroup rpmbuild
+ * \file build/pack.c
* Assemble components of an RPM package.
*/
@@ -415,8 +416,10 @@ int writeRPM(Header h, const char *fileName, int type,
archnum = -1;
osnum = -1;
if (Fileno(csa->cpioFdIn) < 0) {
+#ifndef DYING
rpmGetArchInfo(NULL, &archnum);
rpmGetOsInfo(NULL, &osnum);
+#endif
} else if (csa->lead != NULL) { /* XXX FIXME: exorcize lead/arch/os */
archnum = csa->lead->archnum;
osnum = csa->lead->osnum;