Juan Hernandez has uploaded a new change for review.

Change subject: packaging: Fix symlink to c3p0 in Fedora 21
......................................................................

packaging: Fix symlink to c3p0 in Fedora 21

The c3p0 library is completely useless for us, as the engine doesn't use
it, but anyhow we have a module for it, and the symlink to the .jar file
is broken in Fedora 21, as it has been moved from "/usr/share/java" to
"/usr/share/java/c3p0". This causes a failure during the startup of the
application server. This patch fixes the RPM spec so that it creates the
correct symlink in Fedora 21.

Change-Id: Iebc360999c5b6beaf1c60722f1c3003b95f27ec4
Signed-off-by: Juan Hernandez <[email protected]>
---
M ovirt-engine.spec.in
1 file changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/77/37477/1

diff --git a/ovirt-engine.spec.in b/ovirt-engine.spec.in
index e7ba90d..9029f33 100644
--- a/ovirt-engine.spec.in
+++ b/ovirt-engine.spec.in
@@ -749,7 +749,11 @@
 tools/org/slf4j/main/slf4j-jdk14.jar slf4j/slf4j-jdk14.jar
 %if 0%{?fedora}
 %if %{fedora} >= 19
+%if %{fedora} >= 21
+common/com/mchange/c3p0/main/c3p0.jar c3p0/c3p0.jar
+%else
 common/com/mchange/c3p0/main/c3p0.jar
+%endif
 common/com/woorea/openstack/sdk/main/glance-client.jar 
openstack-java-sdk/glance-client.jar
 common/com/woorea/openstack/sdk/main/glance-model.jar 
openstack-java-sdk/glance-model.jar
 common/com/woorea/openstack/sdk/main/keystone-client.jar 
openstack-java-sdk/keystone-client.jar


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

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

Reply via email to