Mark README files as doc
/etc/rc.d/init.d/README was marked as %config(noreplace), which seems to be a clear bug. But this primarily affects new README files in all the .d directories.
This commit is contained in:
parent
f0032c4da6
commit
c6e8c30b17
@ -136,6 +136,8 @@ for file in files(buildroot):
|
|||||||
prefix += ' '
|
prefix += ' '
|
||||||
elif file.is_dir() and not file.is_symlink():
|
elif file.is_dir() and not file.is_symlink():
|
||||||
prefix = '%dir '
|
prefix = '%dir '
|
||||||
|
elif 'README' in n:
|
||||||
|
prefix = '%doc '
|
||||||
elif n.startswith('/etc'):
|
elif n.startswith('/etc'):
|
||||||
prefix = '%config(noreplace) '
|
prefix = '%config(noreplace) '
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user