Add @todo Should directories have %doc/%config attributes? (#14531).

CVS patchset: 4171
CVS date: 2000/09/26 17:19:32
This commit is contained in:
jbj 2000-09-26 17:19:32 +00:00
parent 4920a3b122
commit 6bcb79bc9b
1 changed files with 4 additions and 0 deletions

View File

@ -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);