[pkg-java] r16342 - trunk/libcommons-compress-java/debian

Jakub Adam xhaakon-guest at alioth.debian.org
Sat Oct 27 16:01:26 UTC 2012


Author: xhaakon-guest
Date: 2012-10-27 16:01:25 +0000 (Sat, 27 Oct 2012)
New Revision: 16342

Added:
   trunk/libcommons-compress-java/debian/commons-compress.bnd
Modified:
   trunk/libcommons-compress-java/debian/changelog
   trunk/libcommons-compress-java/debian/control
   trunk/libcommons-compress-java/debian/rules
Log:
Generate OSGi metadata into jar manifest

Modified: trunk/libcommons-compress-java/debian/changelog
===================================================================
--- trunk/libcommons-compress-java/debian/changelog	2012-10-27 15:59:42 UTC (rev 16341)
+++ trunk/libcommons-compress-java/debian/changelog	2012-10-27 16:01:25 UTC (rev 16342)
@@ -3,6 +3,7 @@
   * Add xz.jar to manifest Class-Path.
     - fixes lintian-reported warning missing-classpath.
   * Ensure backwards compatible bytecode is built (Closes: #688118).
+  * Generate OSGi metadata into jar manifest.
 
  -- Jakub Adam <jakub.adam at ktknet.cz>  Sat, 27 Oct 2012 15:57:18 +0200
 

Added: trunk/libcommons-compress-java/debian/commons-compress.bnd
===================================================================
--- trunk/libcommons-compress-java/debian/commons-compress.bnd	                        (rev 0)
+++ trunk/libcommons-compress-java/debian/commons-compress.bnd	2012-10-27 16:01:25 UTC (rev 16342)
@@ -0,0 +1,5 @@
+Bundle-Name: Apache Commons Compress library
+Bundle-SymbolicName: org.apache.commons.compress
+Bundle-Version: 1.0.0
+Bundle-Vendor: Debian.org
+Import-Package: org.tukaani.xz;resolution:=optional, *

Modified: trunk/libcommons-compress-java/debian/control
===================================================================
--- trunk/libcommons-compress-java/debian/control	2012-10-27 15:59:42 UTC (rev 16341)
+++ trunk/libcommons-compress-java/debian/control	2012-10-27 16:01:25 UTC (rev 16342)
@@ -7,6 +7,7 @@
                ant-optional,
                cdbs,
                debhelper (>= 5),
+               bnd,
                default-jdk,
                junit4,
                maven-repo-helper,

Modified: trunk/libcommons-compress-java/debian/rules
===================================================================
--- trunk/libcommons-compress-java/debian/rules	2012-10-27 15:59:42 UTC (rev 16341)
+++ trunk/libcommons-compress-java/debian/rules	2012-10-27 16:01:25 UTC (rev 16342)
@@ -9,6 +9,7 @@
 PACKAGE           := commons-compress
 
 install/lib$(PACKAGE)-java:: 
+	bnd wrap -properties debian/$(PACKAGE).bnd -output $(PACKAGE).jar $(PACKAGE).jar
 	mh_installpoms -plib$(PACKAGE)-java
 	mh_installjar -plib$(PACKAGE)-java -l pom.xml $(PACKAGE).jar
 




More information about the pkg-java-commits mailing list