diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
commit | 75808db17caf8b960b351e3408e74142f4c85aac (patch) | |
tree | 7989e9c09a4240248bf4658a22208a0a52d991c4 /t/recipes/checks/languages/java/java-classpath/build-spec/debian | |
parent | Initial commit. (diff) | |
download | lintian-75808db17caf8b960b351e3408e74142f4c85aac.tar.xz lintian-75808db17caf8b960b351e3408e74142f4c85aac.zip |
Adding upstream version 2.117.0.upstream/2.117.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
7 files changed, 53 insertions, 0 deletions
diff --git a/t/recipes/checks/languages/java/java-classpath/build-spec/debian/binary-using-java.jlibs b/t/recipes/checks/languages/java/java-classpath/build-spec/debian/binary-using-java.jlibs new file mode 100644 index 0000000..5e5f31e --- /dev/null +++ b/t/recipes/checks/languages/java/java-classpath/build-spec/debian/binary-using-java.jlibs @@ -0,0 +1 @@ +cp-missing-2.jar diff --git a/t/recipes/checks/languages/java/java-classpath/build-spec/debian/control.in b/t/recipes/checks/languages/java/java-classpath/build-spec/debian/control.in new file mode 100644 index 0000000..cc8ad52 --- /dev/null +++ b/t/recipes/checks/languages/java/java-classpath/build-spec/debian/control.in @@ -0,0 +1,38 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %], javahelper (>= 0.32~), default-jdk-headlesss | default-jdk +Rules-Requires-Root: no + +Package: libcp-missing-java +Architecture: all +Depends: ${misc:Depends}, libdepends-java +Description: [% $description %] - missing + This is a test package designed to test various aspects of the + java-related QA code in lintian. This package should not be + installed. + . + Test for missing classpaths. + +Package: libcp-relative-java +Architecture: all +Depends: ${misc:Depends}, libdepends-java +Description: [% $description %] - relative + This is a test package designed to test various aspects of the + java-related QA code in lintian. This package should not be + installed. + . + Test for relative classpaths. + + +Package: binary-using-java +Architecture: all +Depends: ${misc:Depends}, libdepends-java +Description: [% $description %] - binary + This is a test package designed to test various aspects of the + java-related QA code in lintian. This package should not be + installed. + . + Test for classpaths in binary. diff --git a/t/recipes/checks/languages/java/java-classpath/build-spec/debian/javabuild b/t/recipes/checks/languages/java/java-classpath/build-spec/debian/javabuild new file mode 100644 index 0000000..cdcc483 --- /dev/null +++ b/t/recipes/checks/languages/java/java-classpath/build-spec/debian/javabuild @@ -0,0 +1,2 @@ +cp-missing.jar src +cp-relative.jar src diff --git a/t/recipes/checks/languages/java/java-classpath/build-spec/debian/libcp-missing-java.jlibs b/t/recipes/checks/languages/java/java-classpath/build-spec/debian/libcp-missing-java.jlibs new file mode 100644 index 0000000..702a7ca --- /dev/null +++ b/t/recipes/checks/languages/java/java-classpath/build-spec/debian/libcp-missing-java.jlibs @@ -0,0 +1 @@ +cp-missing.jar diff --git a/t/recipes/checks/languages/java/java-classpath/build-spec/debian/libcp-relative-java.jlibs b/t/recipes/checks/languages/java/java-classpath/build-spec/debian/libcp-relative-java.jlibs new file mode 100644 index 0000000..4f2e007 --- /dev/null +++ b/t/recipes/checks/languages/java/java-classpath/build-spec/debian/libcp-relative-java.jlibs @@ -0,0 +1 @@ +cp-relative.jar diff --git a/t/recipes/checks/languages/java/java-classpath/build-spec/debian/libcp-relative-java.manifest b/t/recipes/checks/languages/java/java-classpath/build-spec/debian/libcp-relative-java.manifest new file mode 100644 index 0000000..c060eca --- /dev/null +++ b/t/recipes/checks/languages/java/java-classpath/build-spec/debian/libcp-relative-java.manifest @@ -0,0 +1,2 @@ +usr/share/java/cp-relative.jar: + Class-Path: obviously-relative/stuff.jar diff --git a/t/recipes/checks/languages/java/java-classpath/build-spec/debian/rules b/t/recipes/checks/languages/java/java-classpath/build-spec/debian/rules new file mode 100755 index 0000000..df7aa48 --- /dev/null +++ b/t/recipes/checks/languages/java/java-classpath/build-spec/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +%: + dh $@ --with javahelper + +override_jh_build: + jh_build --javacopts='-target 1.7' --javacopts='-source 1.7' + cp cp-missing.jar cp-missing-2.jar |