Sophie

Sophie

distrib > Mageia > 1 > i586 > media > core-updates-src > by-pkgid > 2d27fe3dff73e21c1aac97aebe0dff40 > files > 23

rpm-4.8.1-10.5.mga1.src.rpm

From ad54228adbb30f40393637172bdffc56fe5486de Mon Sep 17 00:00:00 2001
From: unknown author <cooker@mandrivalinux.org>
Date: Thu, 12 Feb 2009 10:59:31 +0000
Subject: [PATCH 25/36] no_rm_-rf_DOCDIR

---
 build/files.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/build/files.c b/build/files.c
index 7db729a..ff46783 100644
--- a/build/files.c
+++ b/build/files.c
@@ -935,7 +935,6 @@ static rpmRC parseForSimple(rpmSpec spec, Package pkg, char * buf,
 		appendStringBuf(pkg->specialDoc, "DOCDIR=$RPM_BUILD_ROOT");
 		appendLineStringBuf(pkg->specialDoc, pkg->specialDocDir);
 		appendLineStringBuf(pkg->specialDoc, "export DOCDIR");
-		appendLineStringBuf(pkg->specialDoc, "rm -rf $DOCDIR");
 		appendLineStringBuf(pkg->specialDoc, RPM_MKDIR_P " $DOCDIR");
 
 		*fileName = pkg->specialDocDir;
-- 
1.6.4.4