File: 05-fix_version.patch

package info (click to toggle)
josm 0.0.svn19369%2Bdfsg-2~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 243,328 kB
  • sloc: java: 490,598; xml: 201,669; perl: 10,314; jsp: 265; sh: 199; makefile: 120; 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
@@ -188,7 +188,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"/>