[lucene-solr] 01/05: Transition to bnd 2.1.0.

Markus Koschany apo-guest at moszumanska.debian.org
Thu Nov 19 22:08:43 UTC 2015


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

apo-guest pushed a commit to branch master
in repository lucene-solr.

commit f95f423f37cab6d2ef0f7ada7d19ce630c64424b
Author: Markus Koschany <apo at debian.org>
Date:   Thu Nov 19 21:59:06 2015 +0100

    Transition to bnd 2.1.0.
---
 debian/control | 2 +-
 debian/rules   | 6 ++++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index 3262236..e5e1b70 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Uploaders: Mat Scales <mat at wibbly.org.uk>, James Page <james.page at ubuntu.com>,
 Build-Depends:
  ant,
  ant-optional,
- bnd1.50,
+ bnd (>= 2.1.0),
  debhelper (>= 9),
  default-jdk,
  javacc,
diff --git a/debian/rules b/debian/rules
index f56065b..0c6f457 100755
--- a/debian/rules
+++ b/debian/rules
@@ -62,8 +62,10 @@ ANALYZERS_JAR=debian/liblucene3-contrib-java/usr/share/java/lucene3-analyzers-*.
 override_mh_install:
 	mh_install
 
-	bnd-1.50 wrap -properties debian/lucene3-core.bnd -output $(CORE_JAR) $(CORE_JAR)
-	bnd-1.50 wrap -properties debian/lucene3-analyzers.bnd -output $(ANALYZERS_JAR) $(ANALYZERS_JAR)
+	bnd wrap --properties debian/lucene3-core.bnd --output $(CORE_JAR).tmp $(CORE_JAR)
+	bnd wrap --properties debian/lucene3-analyzers.bnd --output $(ANALYZERS_JAR).tmp $(ANALYZERS_JAR)
+	mv $(CORE_JAR).tmp $(CORE_JAR)
+	mv $(ANALYZERS_JAR).tmp $(ANALYZERS_JAR)
 
 override_dh_installchangelogs:
 	dh_installchangelogs -pliblucene3-java lucene/CHANGES.txt

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



More information about the pkg-java-commits mailing list