Remove the third party openflowjava jars.
authorHsin-Yi Shen <hshen@redhat.com>
Tue, 21 Jan 2014 18:45:25 +0000 (13:45 -0500)
committerHsin-Yi Shen <hshen@redhat.com>
Tue, 21 Jan 2014 18:45:25 +0000 (13:45 -0500)
There jars are not used by anyone and the deicision is to remove them for now.

Change-Id: I6e54f067742417b6da61b6100a82a5d2cbe35f90
Signed-off-by: Hsin-Yi Shen <hshen@redhat.com>
packaging/rpm/opendaylight-openflowjava.spec

index ab0ca6a03bfd819b6b6979c5bf6cb4339942d7fc..3f25b5e33de78260f17a5ebc08ccc00496432223 100644 (file)
@@ -103,21 +103,24 @@ do
     fi
 done
 
-for src in $( ls %{_builddir}/%{buildsubdir}/third-party/openflowj_netty/target/*.jar);
-do
-    if [ "${src}" == "${src/javadoc.jar/}" ]; then
-        tgt=$(basename ${src})
-        mv ${src} %{buildroot}%{resources_dir}/plugins/${tgt}
-    fi
-done
-
-for src in $( ls %{_builddir}/%{buildsubdir}/third-party/openflow-codec/target/*.jar);
-do
-    if [ "${src}" == "${src/javadoc.jar/}" ]; then
-        tgt=$(basename ${src})
-        mv ${src} %{buildroot}%{resources_dir}/plugins/${tgt}
-    fi
-done
+# Comment out third-party jars since they are not used by anyone.
+# User can uncomment following line if third-party jars are needed in the future.
+
+#for src in $( ls %{_builddir}/%{buildsubdir}/third-party/openflowj_netty/target/*.jar);
+#do
+#    if [ "${src}" == "${src/javadoc.jar/}" ]; then
+#        tgt=$(basename ${src})
+#        mv ${src} %{buildroot}%{resources_dir}/plugins/${tgt}
+#    fi
+#done
+
+#for src in $( ls %{_builddir}/%{buildsubdir}/third-party/openflow-codec/target/*.jar);
+#do
+#    if [ "${src}" == "${src/javadoc.jar/}" ]; then
+#        tgt=$(basename ${src})
+#        mv ${src} %{buildroot}%{resources_dir}/plugins/${tgt}
+#    fi
+#done
 
 # Fix the permissions as they come with all the permissions (mode 777)
 # from the .zip file: