[eclipse-mylyn/f17] Include the schema folder into the binary jar.

Krzysztof Daniel kdaniel at fedoraproject.org
Mon Apr 30 12:14:39 UTC 2012


commit ce228ed640f03d30070ce82cfc6504b146387db4
Author: Krzysztof Daniel <kdaniel at redhat.com>
Date:   Mon Apr 30 14:12:39 2012 +0200

    Include the schema folder into the binary jar.

 eclipse-mylyn-include-schema-for-tasks-core.patch |   10 ++++++++++
 eclipse-mylyn.spec                                |   10 ++++++++--
 2 files changed, 18 insertions(+), 2 deletions(-)
---
diff --git a/eclipse-mylyn-include-schema-for-tasks-core.patch b/eclipse-mylyn-include-schema-for-tasks-core.patch
new file mode 100644
index 0000000..350fa45
--- /dev/null
+++ b/eclipse-mylyn-include-schema-for-tasks-core.patch
@@ -0,0 +1,10 @@
+--- org.eclipse.mylyn.tasks.core/build.properties.bak	2012-04-30 13:57:22.000000000 +0200
++++ org.eclipse.mylyn.tasks.core/build.properties	2012-04-30 13:57:56.968996992 +0200
+@@ -6,6 +6,7 @@
+ # http://www.eclipse.org/legal/epl-v10.html
+ ###############################################################################
+ bin.includes = META-INF/,\
++			   schema/,\
+                plugin.xml,\
+                .,\
+                about.html,\
diff --git a/eclipse-mylyn.spec b/eclipse-mylyn.spec
index ef409f5..39fea41 100644
--- a/eclipse-mylyn.spec
+++ b/eclipse-mylyn.spec
@@ -7,12 +7,14 @@
 Name: eclipse-mylyn
 Summary: Eclipse Mylyn main feature.
 Version: 3.7.0
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: EPL
 URL: http://www.eclipse.org/mylyn
 
 # bash fetch-eclipse-mylyn.sh
-Source0: eclipse-mylyn-R_%{tag}-fetched-src.tar.bz2
+Source0: %{name}-R_%{tag}-fetched-src.tar.bz2
+
+Patch0: %{name}-include-schema-for-tasks-core.patch
 
 %if 0%{?rhel} >= 6
 ExclusiveArch: %{ix86} x86_64
@@ -44,6 +46,7 @@ information that is not relevant to the current task.
 
 %prep
 %setup -q -n eclipse-mylyn-R_%{tag}-fetched-src
+%patch0
 rm -rf orbitDeps
 mkdir orbitDeps
 pushd orbitDeps
@@ -76,6 +79,9 @@ unzip -q -o -d %{buildroot}%{install_loc}/mylyn \
 %doc org.eclipse.mylyn-feature/license.html
 
 %changelog
+* Mon Apr 30 2012 Krzysztof Daniel <kdaniel at redhat.com> 3.7.0-4
+- Include schema description.
+
 * Fri Apr 13 2012 Krzysztof Daniel <kdaniel at redhat.com> 3.7.0-3
 - Move to eclipse 4.2.
 - Build help.


More information about the scm-commits mailing list