[jnr-posix] 01/04: Fix build with bnd 2.1

Jakub Adam xhaakon-guest at moszumanska.debian.org
Thu Jun 25 12:14:31 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 926185201db61f878d9245747a34ba6e4ded3421
Author: Jakub Adam <jakub.adam at ktknet.cz>
Date:   Thu Jun 25 13:35:50 2015 +0200

    Fix build with bnd 2.1
---
 debian/control       | 2 +-
 debian/jnr-posix.bnd | 1 +
 debian/rules         | 3 ++-
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index bb037e3..e095053 100644
--- a/debian/control
+++ b/debian/control
@@ -14,7 +14,7 @@ Build-Depends: debhelper (>= 9),
  libjnr-ffi-java,
  libmaven-javadoc-plugin-java,
  maven-debian-helper,
- bnd
+ bnd (>= 2.1.0-1)
 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 836b9c3..35b8bad 100644
--- a/debian/jnr-posix.bnd
+++ b/debian/jnr-posix.bnd
@@ -3,4 +3,5 @@ Bundle-SymbolicName: org.jruby.ext.posix
 Bundle-Version: 1.0.0
 Bundle-Vendor: Debian.org
 Import-Package: sun.misc;resolution:=optional, *
+Export-Package: *
 Eclipse-BuddyPolicy: global
diff --git a/debian/rules b/debian/rules
index 68db014..1bd42ec 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,4 +11,5 @@ override_jh_manifest:
 	jh_manifest
 
 	# generate OSGi metadata
-	bnd wrap --properties debian/jnr-posix.bnd --output $(JAR) $(JAR)
+	bnd wrap --properties debian/jnr-posix.bnd --output $(JAR).tmp $(JAR)
+	mv $(JAR).tmp $(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