From c6e8c30b172d83ec5ae12b888790825a4d81c0ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 31 Mar 2021 10:03:27 +0200 Subject: [PATCH] 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. --- split-files.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/split-files.py b/split-files.py index 26e0551..ab9147a 100644 --- a/split-files.py +++ b/split-files.py @@ -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: