Revert "Skip CLang static analysis in RHEL"
This reverts changes from fc568a9a0f
.
(I discovered these were not actually needed.)
This commit is contained in:
parent
fc568a9a0f
commit
e25f34d86d
@ -13,12 +13,6 @@
|
||||
%bcond_with replace_hmaccalc
|
||||
%endif
|
||||
|
||||
%if 0%{?fedora}
|
||||
%global use_clang 1
|
||||
%else
|
||||
%global use_clang 0
|
||||
%endif
|
||||
|
||||
# This package needs at least Linux Kernel v4.10.0.
|
||||
%global min_kernel_ver 4.10.0
|
||||
|
||||
@ -109,9 +103,7 @@ Patch0: %{giturl}/pull/52.patch#/%{name}-1.1.0-kcapi-hasher_Fix_buffer_o
|
||||
Patch1: %{giturl}/pull/53.patch#/%{name}-1.1.0-kcapi-hasher_Fix_FIPS_self-check_always_failing.patch
|
||||
Patch2: %{giturl}/pull/54.patch#/%{name}-1.1.0-kcapi-hasher_Fix_FIPS_self-check_of_the_libkcapi_library.patch
|
||||
|
||||
%if %{use_clang}
|
||||
BuildRequires: clang
|
||||
%endif
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: cppcheck
|
||||
BuildRequires: docbook-utils-pdf
|
||||
@ -351,10 +343,9 @@ done
|
||||
|
||||
%check
|
||||
# Some basic sanity checks.
|
||||
%make_build cppcheck
|
||||
%if %{use_clang}
|
||||
%make_build scan
|
||||
%endif
|
||||
for t in cppcheck scan; do
|
||||
%make_build $t
|
||||
done
|
||||
|
||||
# On some arches `/proc/sys/net/core/optmem_max` is lower than 20480,
|
||||
# which is the lowest limit needed to run the testsuite. If that limit
|
||||
@ -433,6 +424,7 @@ popd
|
||||
%changelog
|
||||
* Wed May 09 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.0-5
|
||||
- Skip CLang static analysis in RHEL
|
||||
- Revert "Skip CLang static analysis in RHEL"
|
||||
|
||||
* Wed May 02 2018 Ondrej Mosnáček <omosnace@redhat.com> - 1.1.0-4
|
||||
- Fix description lines being too long
|
||||
|
Loading…
Reference in New Issue
Block a user