Re-enable cppcheck scanning on Fedora
It has been updated to version 2.5 in Fedora, which no longer produces false positives on libkcapi code. Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
This commit is contained in:
parent
ea5231da38
commit
44c3299dec
@ -26,9 +26,7 @@
|
||||
%if 0%{?rhel}
|
||||
%bcond_with cppcheck
|
||||
%else
|
||||
# Temporarily disable cppcheck on Fedora until bz#1923600 is fixed in rawhide
|
||||
%bcond_with cppcheck
|
||||
#bcond_without cppcheck
|
||||
%bcond_without cppcheck
|
||||
%endif
|
||||
|
||||
# Use `--without test` to build without running the tests
|
||||
@ -156,7 +154,7 @@ BuildRequires: docbook-utils-pdf
|
||||
BuildRequires: clang
|
||||
%endif
|
||||
%if %{with cppcheck}
|
||||
BuildRequires: cppcheck
|
||||
BuildRequires: cppcheck >= 2.4
|
||||
%endif
|
||||
|
||||
# For ownership of %%{_sysctldir}.
|
||||
|
Loading…
Reference in New Issue
Block a user