summaryrefslogtreecommitdiff
path: root/build.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-01-21 15:43:32 +0000
committerjbj <devnull@localhost>2001-01-21 15:43:32 +0000
commitd07437babbde795e5f58fa6b6092c2867a1781f7 (patch)
treeb7931b96d832c2739a2abc8d8defdd36ab74a907 /build.c
parentb8694daf7caeab685bb5e86d1c5909174f519e81 (diff)
downloadlibrpm-tizen-d07437babbde795e5f58fa6b6092c2867a1781f7.tar.gz
librpm-tizen-d07437babbde795e5f58fa6b6092c2867a1781f7.tar.bz2
librpm-tizen-d07437babbde795e5f58fa6b6092c2867a1781f7.zip
- cpio mappings carry dirname/basename, not absolute path.
CVS patchset: 4474 CVS date: 2001/01/21 15:43:32
Diffstat (limited to 'build.c')
-rw-r--r--build.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/build.c b/build.c
index b3c56e229..573e9f43d 100644
--- a/build.c
+++ b/build.c
@@ -116,6 +116,8 @@ static int buildForTarget(const char *arg, struct rpmBuildArguments *ba,
specDir = rpmGetPath("%{_specdir}", NULL);
+ /* XXX Using mkstemp is difficult here. */
+ /* XXX FWIW, default %{_specdir} is root.root 0755 */
{ char tfn[64];
strcpy(tfn, "rpm-spec.XXXXXX");
tmpSpecFile = rpmGetPath("%{_specdir}/", mktemp(tfn), NULL);