summaryrefslogtreecommitdiff
path: root/build.c
diff options
context:
space:
mode:
Diffstat (limited to 'build.c')
-rw-r--r--build.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/build.c b/build.c
index 2e9ab8cd1..7ef1b314e 100644
--- a/build.c
+++ b/build.c
@@ -112,11 +112,7 @@ static char * getTarSpec(const char *arg)
specDir = rpmGetPath("%{_specdir}", NULL);
tmpSpecFile = rpmGetPath("%{_specdir}/", "rpm-spec.XXXXXX", NULL);
-#if defined(HAVE_MKSTEMP)
(void) close(mkstemp(tmpSpecFile));
-#else
- (void) mktemp(tmpSpecFile);
-#endif
for (try = tryspec; *try != NULL; try++) {
FILE *fp;