File: 05-fix_version.patch

package info (click to toggle)
josm 0.0.svn19439%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 244,792 kB
  • sloc: java: 491,692; xml: 201,667; perl: 10,319; jsp: 265; sh: 219; makefile: 118; javascript: 74; python: 60
file content (19 lines) | stat: -rw-r--r-- 1,096 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Fix version numbers to reflect upstream changes.
 Appending SVN to version is not required for the Debian package build.
 The Debian package build is identified using the Build-Name property in the
 REVISION file (see 00-build.patch).
Author: Mario Izquierdo <mariodebian@gmail.com>
Bug-Debian: https://bugs.debian.org/598920
Forwarded: not-needed

--- a/build.xml
+++ b/build.xml
@@ -191,7 +191,7 @@ Debian-Release: ${debian.version}
             <!-- add attribute excludes="**/*BZip2*,**/*Bzip2*" to create a non-bzip2 supporting jar -->
             <manifest>
                 <attribute name="Main-class" value="org.openstreetmap.josm.gui.MainApplication"/>
-                <attribute name="Main-Version" value="${version.entry.commit.revision} SVN"/>
+                <attribute name="Main-Version" value="${version.entry.commit.revision}"/>
                 <attribute name="Main-Date" value="${version.entry.commit.date}"/>
                 <attribute name="Permissions" value="all-permissions"/>
                 <attribute name="Codebase" value="josm.openstreetmap.de"/>