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:
parent
4920a3b122
commit
6bcb79bc9b
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue