Alon Bar-Lev has uploaded a new change for review.

Change subject: packaging: build: fix branding when pom are enabled
......................................................................

packaging: build: fix branding when pom are enabled

Change-Id: If076de7abdeed4bf59a7dfe365527b596c95264d
Signed-off-by: Alon Bar-Lev <[email protected]>
---
M packaging/fedora/spec/ovirt-engine.spec.in
1 file changed, 5 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/81/14081/1

diff --git a/packaging/fedora/spec/ovirt-engine.spec.in 
b/packaging/fedora/spec/ovirt-engine.spec.in
index 05683a3..fa76816 100644
--- a/packaging/fedora/spec/ovirt-engine.spec.in
+++ b/packaging/fedora/spec/ovirt-engine.spec.in
@@ -327,6 +327,11 @@
 %{restapi_war}/WEB-INF/lib/restapi-types.jar
 .
 
+# Needed for compatibility if package is different than the directory structure
+%if "%{name}" != "%{engine_name}"
+ln -s "%{engine_name}" "%{buildroot}%{engine_java}/../%{name}"
+%endif
+
 # Register poms
 %if !%{install_poms}
 rm -fr "%{buildroot}%{_mavenpomdir}"
@@ -345,11 +350,6 @@
     %add_maven_depmap "${jpppom}"
   fi
 done
-%endif
-
-# Needed for compatibility if package is different than the directory structure
-%if "%{name}" != "%{engine_name}"
-ln -s "%{engine_name}" "%{buildroot}%{engine_java}/../%{name}"
 %endif
 
 # Install the systemd files:


--
To view, visit http://gerrit.ovirt.org/14081
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If076de7abdeed4bf59a7dfe365527b596c95264d
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to