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
a37b05db35
commit
b57fc8887e
1 changed files with 2 additions and 0 deletions
|
|
@ -136,6 +136,8 @@ for file in files(buildroot):
|
|||
prefix += ' '
|
||||
elif file.is_dir() and not file.is_symlink():
|
||||
prefix = '%dir '
|
||||
elif 'README' in n:
|
||||
prefix = '%doc '
|
||||
elif n.startswith('/etc'):
|
||||
prefix = '%config(noreplace) '
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue