diff --git a/apache-ivy.spec b/apache-ivy.spec index 8ea3064..6299050 100644 --- a/apache-ivy.spec +++ b/apache-ivy.spec @@ -16,7 +16,7 @@ # -%bcond_with ssh +%bcond_without ssh %bcond_with vfs Name: apache-ivy Version: 2.4.0 @@ -106,8 +106,10 @@ build-jar-repository lib commons-vfs2 export CLASSPATH=${CLASSPATH}:$(build-classpath commons-vfs2) %endif %if %{with ssh} -build-jar-repository lib jsch-agent-proxy -export CLASSPATH=${CLASSPATH}:$(build-classpath jsch-agent-proxy) +build-jar-repository lib jsch.agentproxy.core \ + jsch.agentproxy.connector-factory \ + jsch.agentproxy.jsch +export CLASSPATH=${CLASSPATH}:$(build-classpath jsch.agentproxy.core jsch.agentproxy.connector-factory jsch.agentproxy.jsch) %endif # Build