Those files should not be installed. Installing those files and removing them in rpm spec file makes spec file less clear and readable than it can be. --- a/Makefile.am~ 2021-02-23 03:14:29.000000000 +0000 +++ b/Makefile.am 2021-02-24 00:46:10.123661073 +0000 @@ -10,11 +10,10 @@ SUBDIRS += extras endif -dist_doc_DATA = LICENSE \ - ChangeLog \ - README.md - -dist_noinst_DATA = CodingStyle +dist_noinst_DATA = LICENSE \ + ChangeLog \ + README.md \ + CodingStyle EXTRA_DIST = extras/lttng-bash_completion \ LICENSES/BSD-2-Clause \ --- a/doc/Makefile.am~ 2021-02-23 03:14:29.000000000 +0000 +++ b/doc/Makefile.am 2021-02-24 00:58:44.385192919 +0000 @@ -6,6 +6,6 @@ live-reading-howto.txt live-reading-protocol.txt \ relayd-architecture.txt -dist_doc_DATA = quickstart.txt streaming-howto.txt python-howto.txt \ +dist_noinst_DATA = quickstart.txt streaming-howto.txt python-howto.txt \ snapshot-howto.txt live-reading-howto.txt \ live-reading-protocol.txt valgrind-howto.txt