diff --git a/rust2rpm/__main__.py b/rust2rpm/__main__.py index 7c1e2d2..73dce6e 100644 --- a/rust2rpm/__main__.py +++ b/rust2rpm/__main__.py @@ -241,7 +241,7 @@ def get_doc_files(path): README[.-].*|CHANGELOG|CHANGELOG[.-].*|TODO|TODO[.-].* """, re.IGNORECASE | re.VERBOSE) - minus = re.compile(r"CMakeLists\.txt") + minus = re.compile(r"CMakeLists\.txt|.*\.tpl|.*\.in") for root, dirs, files in os.walk(path, topdown=True): dirs[:] = []