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