[java-package] 04/09: Make JRE/JDK package architecture specific

Benjamin Drung bdrung at moszumanska.debian.org
Fri Mar 18 16:52:39 UTC 2016


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

bdrung pushed a commit to branch master
in repository java-package.

commit ad1b23a303f6d18ed6955d8f33f5deb2e6ea92bf
Author: Benjamin Drung <benjamin.drung at profitbricks.com>
Date:   Thu Mar 17 17:42:29 2016 +0100

    Make JRE/JDK package architecture specific
---
 lib/oracle-jdk.sh | 2 +-
 lib/oracle-jre.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/oracle-jdk.sh b/lib/oracle-jdk.sh
index ebc0efd..fd510c7 100644
--- a/lib/oracle-jdk.sh
+++ b/lib/oracle-jdk.sh
@@ -205,7 +205,7 @@ oracle_j2sdk_control() {
     done
     cat << EOF
 Package: $j2se_package
-Architecture: any
+Architecture: $j2se_debian_arch
 Depends: \${misc:Depends}, $depends
 Recommends: netbase
 Provides: java-virtual-machine, java-runtime, java2-runtime, $provides_runtime $java_browser_plugin java-compiler, java2-compiler, java-runtime-headless, java2-runtime-headless, $provides_headless java-sdk, java2-sdk, $provides_sdk
diff --git a/lib/oracle-jre.sh b/lib/oracle-jre.sh
index a555182..0b93de0 100644
--- a/lib/oracle-jre.sh
+++ b/lib/oracle-jre.sh
@@ -150,7 +150,7 @@ oracle_j2re_control() {
     done
     cat << EOF
 Package: $j2se_package
-Architecture: any
+Architecture: $j2se_debian_arch
 Depends: \${misc:Depends}, \${shlibs:Depends}, $depends
 Recommends: netbase
 Provides: java-virtual-machine, java-runtime, java2-runtime, $provides_runtime java-runtime-headless, java2-runtime-headless, $provides_headless java-browser-plugin

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



More information about the pkg-java-commits mailing list