[mina2] 03/03: Ensure that the package can be built twice in a row.

Markus Koschany apo at moszumanska.debian.org
Fri Aug 26 12:59:50 UTC 2016


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

apo pushed a commit to branch master
in repository mina2.

commit f02587e5be536d08146be161c52da7e4ba9c39db
Author: Markus Koschany <apo at debian.org>
Date:   Fri Aug 26 02:56:10 2016 +0200

    Ensure that the package can be built twice in a row.
    
    Override dh_clean target.
---
 debian/changelog | 8 ++++++++
 debian/rules     | 9 +++++++++
 2 files changed, 17 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index a5e2eed..3f2691b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+mina2 (2.0.13-2) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Ensure that the package can be built twice in a row.
+    Override dh_clean target.
+
+ -- Markus Koschany <apo at debian.org>  Fri, 26 Aug 2016 14:57:36 +0200
+
 mina2 (2.0.13-1) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/rules b/debian/rules
index 081f75f..db6526d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,5 +14,14 @@ override_dh_auto_test:
 override_dh_auto_install:
 	dh_auto_install -- -f src/pom.xml
 
+override_dh_clean:
+	dh_clean
+	$(RM) src/mina-core/META-INF/MANIFEST.MF \
+		src/mina-filter-compression/META-INF/MANIFEST.MF \
+		src/mina-integration-beans/META-INF/MANIFEST.MF \
+		src/mina-integration-jmx/META-INF/MANIFEST.MF \
+		src/mina-integration-ognl/META-INF/MANIFEST.MF \
+		src/mina-transport-apr/META-INF/MANIFEST.MF
+
 get-orig-source:
 	uscan --download-current-version --force-download --rename --repack --compression xz

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



More information about the pkg-java-commits mailing list