Add @todo Should directories have %doc/%config attributes? (#14531).
authorjbj <devnull@localhost>
Tue, 26 Sep 2000 17:19:32 +0000 (17:19 +0000)
committerjbj <devnull@localhost>
Tue, 26 Sep 2000 17:19:32 +0000 (17:19 +0000)
CVS patchset: 4171
CVS date: 2000/09/26 17:19:32

build/files.c

index b58797e..f2402f9 100644 (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);