File: 0001-fix-license-location.patch

package info (click to toggle)
libcommons-el-java 1.0-8
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 860 kB
  • ctags: 1,155
  • sloc: java: 7,781; xml: 223; makefile: 16
file content (40 lines) | stat: -rw-r--r-- 1,440 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
From: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Date: Fri, 2 Sep 2011 22:28:09 +0200
Subject: fix license location

---
 build.xml |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/build.xml b/build.xml
index 96e0763..c0a248a 100755
--- a/build.xml
+++ b/build.xml
@@ -230,7 +230,7 @@
   <target name="dist" depends="compile,javadoc"
    description="Create binary distribution">
     <mkdir      dir="${dist.home}"/>
-    <copy      file="../LICENSE"
+    <copy      file="LICENSE.txt"
               todir="${dist.home}"/>
     <copy      file="RELEASE-NOTES.txt"
               todir="${dist.home}"/>
@@ -242,7 +242,7 @@
    description="Create jar">
     <mkdir      dir="${dist.home}"/>
     <mkdir      dir="${build.home}/classes/META-INF"/>
-    <copy      file="../LICENSE"
+    <copy      file="LICENSE.txt"
              tofile="${build.home}/classes/META-INF/LICENSE.txt"/>
     <jar    jarfile="${commons-el.jar}"
            manifest="${build.home}/conf/MANIFEST.MF">
@@ -257,7 +257,7 @@
     <copy  todir="${build.home}/classes/META-INF" filtering="on">
       <fileset dir="${conf.home}" includes="*.MF"/>
     </copy>
-    <copy      file="../LICENSE"
+    <copy      file="LICENSE.txt"
              tofile="${build.home}/classes/META-INF/LICENSE.txt"/>
     <jar    jarfile="${commons-el.jar}"
            manifest="${build.home}/classes/META-INF/MANIFEST.MF">
--