[jnr-posix] 01/01: Re-enable OSGi metadata generation

Jakub Adam xhaakon-guest at moszumanska.debian.org
Sun Jun 21 11:54:05 UTC 2015


This is an automated email from the git hooks/post-receive script.

xhaakon-guest pushed a commit to branch master
in repository jnr-posix.

commit 2c9ce3b308ecff160eb3ce9715f884b15b636a81
Author: Jakub Adam <jakub.adam at ktknet.cz>
Date:   Sat Jun 20 22:37:33 2015 +0200

    Re-enable OSGi metadata generation
---
 debian/changelog     | 7 +++++++
 debian/control       | 3 ++-
 debian/jnr-posix.bnd | 2 +-
 debian/rules         | 7 +++++++
 4 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 17cb668..bbe7325 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+jnr-posix (3.0.10-3) UNRELEASED; urgency=medium
+
+  * Re-enable OSGi metadata generation.
+    - Lost during package update.
+
+ -- Jakub Adam <jakub.adam at ktknet.cz>  Sat, 20 Jun 2015 22:36:25 +0200
+
 jnr-posix (3.0.10-2) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/control b/debian/control
index d1d0d65..bb037e3 100644
--- a/debian/control
+++ b/debian/control
@@ -13,7 +13,8 @@ Build-Depends: debhelper (>= 9),
  libjnr-constants-java,
  libjnr-ffi-java,
  libmaven-javadoc-plugin-java,
- maven-debian-helper
+ maven-debian-helper,
+ bnd
 Standards-Version: 3.9.6
 Homepage: https://github.com/jnr/jnr-posix
 Vcs-Git: git://anonscm.debian.org/pkg-java/jnr-posix.git
diff --git a/debian/jnr-posix.bnd b/debian/jnr-posix.bnd
index 6a5d6b2..836b9c3 100644
--- a/debian/jnr-posix.bnd
+++ b/debian/jnr-posix.bnd
@@ -2,5 +2,5 @@ Bundle-Name: basic POSIX-like functions for Java
 Bundle-SymbolicName: org.jruby.ext.posix
 Bundle-Version: 1.0.0
 Bundle-Vendor: Debian.org
-Import-Package: *
+Import-Package: sun.misc;resolution:=optional, *
 Eclipse-BuddyPolicy: global
diff --git a/debian/rules b/debian/rules
index 027d7eb..68db014 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,3 +5,10 @@ export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8
 
 %:
 	dh $@ --buildsystem=maven --with javahelper
+
+JAR=debian/libjnr-posix-java/usr/share/java/jnr-posix.jar
+override_jh_manifest:
+	jh_manifest
+
+	# generate OSGi metadata
+	bnd wrap --properties debian/jnr-posix.bnd --output $(JAR) $(JAR)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jnr-posix.git



More information about the pkg-java-commits mailing list