[pkg-java] r13903 - in trunk/libcommons-lang-java/debian: . patches

Miguel Landaeta nomadium-guest at alioth.debian.org
Tue Aug 2 20:02:41 UTC 2011


Author: nomadium-guest
Date: 2011-08-02 20:02:40 +0000 (Tue, 02 Aug 2011)
New Revision: 13903

Modified:
   trunk/libcommons-lang-java/debian/changelog
   trunk/libcommons-lang-java/debian/control
   trunk/libcommons-lang-java/debian/patches/OSGi_Manifest.patch
Log:
* Fix jar manifest generation.
* Fix minor lintian warning about duplicate-short-description.


Modified: trunk/libcommons-lang-java/debian/changelog
===================================================================
--- trunk/libcommons-lang-java/debian/changelog	2011-08-02 19:40:23 UTC (rev 13902)
+++ trunk/libcommons-lang-java/debian/changelog	2011-08-02 20:02:40 UTC (rev 13903)
@@ -9,8 +9,9 @@
   * Add mh_clean call in clean target.
   * Remove unnecessary dependency on JRE.
   * Link -doc javadocs with default-jdk-doc and add a Suggests dep on that.
+  * Fix minor lintian warning about duplicate-short-description.
 
- -- Miguel Landaeta <miguel at miguel.cc>  Tue, 02 Aug 2011 12:23:57 -0430
+ -- Miguel Landaeta <miguel at miguel.cc>  Tue, 02 Aug 2011 15:17:59 -0430
 
 libcommons-lang-java (2.4-4) unstable; urgency=low
 

Modified: trunk/libcommons-lang-java/debian/control
===================================================================
--- trunk/libcommons-lang-java/debian/control	2011-08-02 19:40:23 UTC (rev 13902)
+++ trunk/libcommons-lang-java/debian/control	2011-08-02 20:02:40 UTC (rev 13903)
@@ -38,7 +38,7 @@
 Architecture: all
 Depends: ${misc:Depends}
 Suggests: default-jdk-doc
-Description: Extension of the java.lang package
+Description: Documentation for an extension of the java.lang package
  The Lang Component contains a set of Java classes that provide helper
  methods for standard Java classes, especially those found in the
  java.lang package in the Sun JDK. The following classes are included:

Modified: trunk/libcommons-lang-java/debian/patches/OSGi_Manifest.patch
===================================================================
--- trunk/libcommons-lang-java/debian/patches/OSGi_Manifest.patch	2011-08-02 19:40:23 UTC (rev 13902)
+++ trunk/libcommons-lang-java/debian/patches/OSGi_Manifest.patch	2011-08-02 20:02:40 UTC (rev 13903)
@@ -14,15 +14,20 @@
  
      <!-- ========== Construct compile classpath =============================== -->
      <path id="compile.classpath">
-@@ -52,6 +52,7 @@
+@@ -52,8 +52,12 @@
          <filter token="version" value="${component.version}"/>
          <filter token="compile.source" value="${compile.source}"/>
          <filter token="compile.target" value="${compile.target}"/>
 +        <filter token="lastmodified" value="${lastmodified}"/>
          <mkdir dir="${build.home}"/>
          <available property="jdk.1.5.present" classname="java.lang.StringBuilder"/>
++        <copy todir="${build.home}/conf" filtering="on">
++               <fileset dir="${conf.home}" includes="*.MF"/>
++        </copy>
      </target>
-@@ -159,18 +160,7 @@
+ 
+     <!-- ========== Compile Targets ========================================= -->
+@@ -159,18 +163,7 @@
          <mkdir dir="${build.home}/classes/META-INF"/>
          <copy file="LICENSE.txt" tofile="${build.home}/classes/META-INF/LICENSE.txt"/>
          <copy file="NOTICE.txt"  tofile="${build.home}/classes/META-INF/NOTICE.txt"/>
@@ -38,7 +43,7 @@
 -                <attribute name="X-Compile-Source-JDK" value="${compile.source}"/>
 -                <attribute name="X-Compile-Target-JDK" value="${compile.target}"/>
 -            </manifest>
-+        <jar jarfile="${build.home}/${final.name}.jar" manifest="${build.home}/../src/conf/MANIFEST.MF">
++        <jar jarfile="${build.home}/${final.name}.jar" manifest="${build.home}/conf/MANIFEST.MF">
              <fileset dir="${build.home}/classes">
                  <include name="**/*.class"/>
                  <include name="**/LICENSE.txt"/>
@@ -48,10 +53,10 @@
 +Manifest-Version: 1.0
 +Package: org.apache.commons.lang
 +Extension-Name: commons-lang
-+Specification-Version: @component.version@
++Specification-Version: @version@
 +Specification-Vendor: The Apache Software Foundation
 +Specification-Title: Commons Lang
-+Implementation-Version: @component.version@
++Implementation-Version: @version@
 +Implementation-Vendor: The Apache Software Foundation
 +Implementation-Title: Commons Lang
 +Implementation-Vendor-Id: org.apache




More information about the pkg-java-commits mailing list