From 91c8c27c630f5a935e67c38b24f140ee75abe337 Mon Sep 17 00:00:00 2001 From: Tomas Hrnciar Date: Mon, 3 Aug 2020 09:37:50 +0200 Subject: [PATCH] Remove unused "executables" section from script and test data --- pyproject_save_files.py | 1 - pyproject_save_files_test_data.yaml | 10 ---------- 2 files changed, 11 deletions(-) diff --git a/pyproject_save_files.py b/pyproject_save_files.py index 512e1da..f8ec28a 100755 --- a/pyproject_save_files.py +++ b/pyproject_save_files.py @@ -186,7 +186,6 @@ def classify_paths( "licenses": [], # to be used once there is upstream way to recognize LICENSEs }, "modules": defaultdict(list), # each importable module (directory, .py, .so) - "executables": {"files": []}, # regular %file entries in %{_bindir} "other": {"files": []}, # regular %file entries we could not parse :( } diff --git a/pyproject_save_files_test_data.yaml b/pyproject_save_files_test_data.yaml index 233f506..d5b4583 100644 --- a/pyproject_save_files_test_data.yaml +++ b/pyproject_save_files_test_data.yaml @@ -1,7 +1,5 @@ classified: kerberos: - executables: - files: [] metadata: dirs: - /usr/lib64/python3.7/site-packages/kerberos-1.3.0.dist-info @@ -21,8 +19,6 @@ classified: other: files: [] mistune: - executables: - files: [] metadata: dirs: - /usr/lib64/python3.7/site-packages/mistune-0.8.3.dist-info @@ -47,8 +43,6 @@ classified: other: files: [] requests: - executables: - files: [] metadata: dirs: - /usr/lib/python3.7/site-packages/requests-2.22.0.dist-info @@ -69,8 +63,6 @@ classified: other: files: [] tensorflow: - executables: - files: [] metadata: dirs: - /usr/lib64/python3.7/site-packages/tensorflow-2.1.0.dist-info @@ -105,8 +97,6 @@ classified: - /usr/bin/toco - /usr/bin/toco_from_protos tldr: - executables: - files: [] metadata: dirs: - /usr/lib/python3.7/site-packages/tldr-0.5.dist-info