Skip to content

Commit

Permalink
Build SCE on RHEL
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-cerny committed Oct 17, 2024
1 parent d04435e commit 2a81f80
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scap-security-guide.spec
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,11 @@ present in %{name} package.
%define centos_8_specific %{nil}

%if 0%{?_rhel_like}
%if 0%{?_rhel_like} == 7 || 0%{?_rhel_like} == 8
%define cmake_defines_specific -DSSG_PRODUCT_DEFAULT:BOOLEAN=FALSE -DSSG_PRODUCT_RHEL%{_rhel_like}:BOOLEAN=TRUE -DSSG_CENTOS_DERIVATIVES_ENABLED:BOOL=ON
%else
%define cmake_defines_specific -DSSG_PRODUCT_DEFAULT:BOOLEAN=FALSE -DSSG_PRODUCT_RHEL%{_rhel_like}:BOOLEAN=TRUE -DSSG_CENTOS_DERIVATIVES_ENABLED:BOOL=ON -DSSG_SCE_ENABLED:BOOL=ON
%endif
%endif
%if 0%{?fedora}
%define cmake_defines_specific -DSSG_PRODUCT_DEFAULT:BOOLEAN=FALSE -DSSG_PRODUCT_FEDORA:BOOLEAN=TRUE
Expand Down

0 comments on commit 2a81f80

Please sign in to comment.