summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-09-26 17:19:32 +0000
committerjbj <devnull@localhost>2000-09-26 17:19:32 +0000
commit6bcb79bc9bdcdb162a75655a0e07de023a3b7b27 (patch)
tree1eb6d44ebf9606415b3ce7ef0d304c1b320aca79
parent4920a3b122ef190eac016bdf2955df9cdbfef2c6 (diff)
downloadlibrpm-tizen-6bcb79bc9bdcdb162a75655a0e07de023a3b7b27.tar.gz
librpm-tizen-6bcb79bc9bdcdb162a75655a0e07de023a3b7b27.tar.bz2
librpm-tizen-6bcb79bc9bdcdb162a75655a0e07de023a3b7b27.zip
Add @todo Should directories have %doc/%config attributes? (#14531).
CVS patchset: 4171 CVS date: 2000/09/26 17:19:32
-rw-r--r--build/files.c4
1 files changed, 4 insertions, 0 deletions
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);