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}
|
%if 0%{?rhel}
|
||||||
%bcond_with cppcheck
|
%bcond_with cppcheck
|
||||||
%else
|
%else
|
||||||
# Temporarily disable cppcheck on Fedora until bz#1923600 is fixed in rawhide
|
%bcond_without cppcheck
|
||||||
%bcond_with cppcheck
|
|
||||||
#bcond_without cppcheck
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Use `--without test` to build without running the tests
|
# Use `--without test` to build without running the tests
|
||||||
@ -156,7 +154,7 @@ BuildRequires: docbook-utils-pdf
|
|||||||
BuildRequires: clang
|
BuildRequires: clang
|
||||||
%endif
|
%endif
|
||||||
%if %{with cppcheck}
|
%if %{with cppcheck}
|
||||||
BuildRequires: cppcheck
|
BuildRequires: cppcheck >= 2.4
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# For ownership of %%{_sysctldir}.
|
# For ownership of %%{_sysctldir}.
|
||||||
|
Loading…
Reference in New Issue
Block a user