From c6e8c30b172d83ec5ae12b888790825a4d81c0ea Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Mar 31 2021 08:03:27 +0000 Subject: 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. --- 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: