From 5b3d48dda3dab894f50777ba43eb9582c16f4aff Mon Sep 17 00:00:00 2001 From: Yuguang Wang Date: Thu, 11 Jan 2024 17:15:00 +0800 Subject: [PATCH] plugins/semgrep: include/install semgrep plugin in make-srpm.sh. --- make-srpm.sh | 11 +++++++++++ py/CMakeLists.txt | 1 + 2 files changed, 12 insertions(+) diff --git a/make-srpm.sh b/make-srpm.sh index e129acec..acad5754 100755 --- a/make-srpm.sh +++ b/make-srpm.sh @@ -221,6 +221,13 @@ Requires: csmock-common %description -n csmock-plugin-snyk This package contains the snyk plug-in for csmock. +%package -n csmock-plugin-semgrep +Summary: csmock plug-in providing the support for semgrep scan. +Requires: csmock-common + +%description -n csmock-plugin-semgrep +This package contains the semgrep plug-in for csmock. + %package -n csmock-plugin-strace Summary: csmock plug-in providing the support for strace Requires: csexec @@ -343,6 +350,10 @@ This package contains the unicontrol plug-in for csmock. %{python3_sitelib}/csmock/plugins/snyk.py* %{python3_sitelib}/csmock/plugins/__pycache__/snyk.* +%files -n csmock-plugin-semgrep +%{python3_sitelib}/csmock/plugins/semgrep.py* +%{python3_sitelib}/csmock/plugins/__pycache__/semgrep.* + %files -n csmock-plugin-strace %{python3_sitelib}/csmock/plugins/strace.py* %{python3_sitelib}/csmock/plugins/__pycache__/strace.* diff --git a/py/CMakeLists.txt b/py/CMakeLists.txt index ea31c03d..71412eec 100644 --- a/py/CMakeLists.txt +++ b/py/CMakeLists.txt @@ -66,6 +66,7 @@ if(ENABLE_CSMOCK) install_plugin(shellcheck) install_plugin(smatch) install_plugin(snyk) + install_plugin(semgrep) install_plugin(strace) install_plugin(symbiotic) install_plugin(valgrind)