[pkg-java] r5917 - branches/eclipse/eclipse-3.2/debian

mkoch at alioth.debian.org mkoch at alioth.debian.org
Sat Mar 1 13:35:57 UTC 2008


Author: mkoch
Date: 2008-03-01 13:35:56 +0000 (Sat, 01 Mar 2008)
New Revision: 5917

Modified:
   branches/eclipse/eclipse-3.2/debian/changelog
   branches/eclipse/eclipse-3.2/debian/rules
Log:
* Make Debian version injection work more reliable.

Modified: branches/eclipse/eclipse-3.2/debian/changelog
===================================================================
--- branches/eclipse/eclipse-3.2/debian/changelog	2008-03-01 13:23:58 UTC (rev 5916)
+++ branches/eclipse/eclipse-3.2/debian/changelog	2008-03-01 13:35:56 UTC (rev 5917)
@@ -1,6 +1,7 @@
 eclipse (3.2.2-6) UNRELEASED; urgency=low
 
   * Suppress warnings from javac.
+  * Make Debian version injection work more reliable.
 
  -- Michael Koch <konqueror at gmx.de>  Thu, 14 Feb 2008 16:11:12 +0100
 

Modified: branches/eclipse/eclipse-3.2/debian/rules
===================================================================
--- branches/eclipse/eclipse-3.2/debian/rules	2008-03-01 13:23:58 UTC (rev 5916)
+++ branches/eclipse/eclipse-3.2/debian/rules	2008-03-01 13:35:56 UTC (rev 5917)
@@ -494,10 +494,9 @@
 	mkdir -p $(BUILD_TREE)
 
 	# Put debian version into about.mappings of org.eclipse.sdk to show it
-	# in Eclispe about dialog.
-	plugin_dir=$$(ls -d $(DEBIAN_TMP)/$(ECLIPSE_HOME)/plugins/org.eclipse.sdk_$(UPSTREAM_VERSION)*) ; \
-	sed -e "s/\(0=.*\)/\1 ($(DISTRIBUTION) version: $(SOURCE_VERSION))/" < $$plugin_dir/about.mappings > $$plugin_dir/about.mappings.tmp ; \
-	mv $$plugin_dir/about.mappings.tmp $$plugin_dir/about.mappings
+	# in Eclipse about dialog.
+	plugin_dir=$$(ls -d $(DEBIAN_TMP)/$(ECLIPSE_HOME)/plugins/org.eclipse.sdk_*) ; \
+	sed --in-place "s/\(0=.*\)/\1 ($(DISTRIBUTION) version: $(SOURCE_VERSION))/" $$plugin_dir/about.mappings
 
 	# Extract our icon. It is uuencoded because binary files cannot be
 	# included in a source package.




More information about the pkg-java-commits mailing list