From 2df685241e0ec4de22c54707b7563cb07bf0d119 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 6 Aug 2023 11:23:37 +0200 Subject: [PATCH] crate: exclude "target" directory from license file search paths --- rust2rpm/crate.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rust2rpm/crate.py b/rust2rpm/crate.py index ea3c6b6..dca9e38 100644 --- a/rust2rpm/crate.py +++ b/rust2rpm/crate.py @@ -26,6 +26,7 @@ LICENSE_FILE_PATTERN = re.compile( ) LICENSE_EXCLUDE_DIRS = { + "target", "vendor", "example", "examples",