Projects
openEuler:Mainline
libkcapi
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 10
View file
_service:tar_scm:libkcapi.spec
Changed
@@ -8,6 +8,9 @@ %define enable_docbook_pdf 0 %endif +# check failed with cppcheck >= 2.11 +%define min_cppcheck %pkg_version_cmp cppcheck 2.11 + # Calculate hmac file after installing for binary %define __spec_install_post \ %{?__debug_package:%{__debug_install_post}} \ @@ -26,7 +29,7 @@ Name: libkcapi Version: 1.4.0 -Release: 2 +Release: 3 Summary: libkcapi - Linux Kernel Crypto API User Space Interface Library License: BSD or GPLv2 @@ -174,6 +177,10 @@ %ldconfig_scriptlets %check +%if %{min_cppcheck} >= 0 +# add -UCHECK_DIR to cppcheck with cppcheck >= 2.11 +sed -i 's/\$(CPPCHECK)/\$(CPPCHECK) -UCHECK_DIR/' Makefile +%endif for t in cppcheck scan;do %make_build $t done @@ -219,6 +226,12 @@ %{_mandir}/man3/kcapi_*.3.* %changelog +* Tue Jul 25 2023 yixiangzhike <yixiangzhike007@163.com> - 1.4.0-3 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:fix the failure of building with cppcheck >= 2.11 + * Fri Apr 28 2023 yixiangzhike <yixiangzhike007@163.com> - 1.4.0-2 - Type:bugfix - ID:NA
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2