Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize RHV Manager build options in spec file #686

Merged
merged 1 commit into from
Sep 29, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions ovirt-engine.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,14 @@
%if 0%{!?ovirt_build_all_user_agents:1}
%global ovirt_build_all_user_agents 1
%endif
# define "rhv_build 1" to perform RHV Manager build
#if True
%global rhv_build 1
#else

# Set "rhv_build 1" to perform RHV Manager build
%global rhv_build 0
#end if

#
# CUSTOMIZATION-END
#

#raw

# Do not repack .jar files, as it takes a long time and doesn't have a
# real benefit:
Expand Down Expand Up @@ -148,10 +145,8 @@ getent passwd %1 >/dev/null || useradd -r -u %2 -g %3 -c %5 -s /sbin/nologin -d
%if %{rhv_build}
%global wildfly_overlay_modules ""
%define extra_common_opts \\\
MVN=true \\\
BUILD_ENV_VALIDATION=0 \\\
JBOSS_HOME=/opt/rh/eap7/root/usr/share/wildfly \\\
MAVEN_OUTPUT_DIR=%{_sourcedir}
JBOSS_HOME=/opt/rh/eap7/root/usr/share/wildfly
%else
%global wildfly_overlay_modules "/usr/share/ovirt-engine-wildfly-overlay/modules"
%endif
Expand Down