[gradle] 02/02: Override all lintian warnings
Kai-Chung Yan
seamlik-guest at moszumanska.debian.org
Tue Jul 7 11:49:15 UTC 2015
This is an automated email from the git hooks/post-receive script.
seamlik-guest pushed a commit to branch master
in repository gradle.
commit 07bde760a50b6666ae15825d4e8604abb5f29cc6
Author: Kai-Chung Yan <seamlikok at gmail.com>
Date: Tue Jul 7 19:45:46 2015 +0800
Override all lintian warnings
---
debian/libgradle-core-java.lintian-overrides | 7 +++++++
debian/rules | 7 +++++++
2 files changed, 14 insertions(+)
diff --git a/debian/libgradle-core-java.lintian-overrides b/debian/libgradle-core-java.lintian-overrides
new file mode 100644
index 0000000..3d152f7
--- /dev/null
+++ b/debian/libgradle-core-java.lintian-overrides
@@ -0,0 +1,7 @@
+# Although gradle-docs-*.jar is codeless, Gradle treats it as a submodule and
+# fails to launch without it.
+codeless-jar usr/share/java/gradle-docs-2.4.jar
+
+# Gradle maintains classpath outside of manifest and loads libraries using its
+# own mechanism.
+missing-classpath
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
index 64a8df5..94afa32 100755
--- a/debian/rules
+++ b/debian/rules
@@ -40,6 +40,13 @@ override_dh_auto_clean:
rm -rf .gradle/ .gradlehome/ buildSrc/.gradle/ buildSrc/build/
rm -rf buildSrc/src/main/java/
+override_dh_install:
+ dh_install
+
+ # Remove lintian warning zero-byte-file-in-doc-directory
+ rm -f debian/gradle-doc/usr/share/doc/gradle/groovydoc/org/gradle/api/distribution/Distribution.html
+ rm -f debian/gradle-doc/usr/share/doc/gradle/groovydoc/org/gradle/api/initialization/Settings.html
+
get-orig-source:
uscan --download-current-version --force-download --repack --compression xz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/gradle.git
More information about the pkg-java-commits
mailing list