From 6bcb79bc9bdcdb162a75655a0e07de023a3b7b27 Mon Sep 17 00:00:00 2001 From: jbj Date: Tue, 26 Sep 2000 17:19:32 +0000 Subject: [PATCH] Add @todo Should directories have %doc/%config attributes? (#14531). CVS patchset: 4171 CVS date: 2000/09/26 17:19:32 --- build/files.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build/files.c b/build/files.c index b58797e6a..f2402f950 100644 --- a/build/files.c +++ b/build/files.c @@ -781,6 +781,9 @@ static int isDoc(struct FileList *fl, const char *fileName) return 0; } +/** + * @todo Should directories have %doc/%config attributes? (#14531) + */ static void genCpioListAndHeader(struct FileList *fl, struct cpioFileMapping **cpioList, int *cpioCount, Header h, int isSrc) @@ -938,6 +941,7 @@ static void genCpioListAndHeader(struct FileList *fl, if (!isSrc && isDoc(fl, flp->fileURL)) flp->flags |= RPMFILE_DOC; + /* XXX Should directories have %doc/%config attributes? (#14531) */ if (S_ISDIR(flp->fl_mode)) flp->flags &= ~(RPMFILE_CONFIG|RPMFILE_DOC);