← Back to team overview

openjdk team mailing list archive

Bug#857992: openjdk-8-jre-headless: please add Breaks: tzdata-java

 

Control: tag -1 patch pending

On 2017-04-14 22:11, anarcat wrote:

> I have tried to do a NMU for this and failed to build OpenJDK through

I had previously succeeded to build openjdk-8, so I just uploaded that
as a NMU to DELAYED/5. Please let me know if I should delay it longer or
cancel.


Andreas
diff -Nru openjdk-8-8u121-b13/debian/changelog openjdk-8-8u121-b13/debian/changelog
--- openjdk-8-8u121-b13/debian/changelog	2017-03-03 18:46:54.000000000 +0100
+++ openjdk-8-8u121-b13/debian/changelog	2017-04-18 22:32:33.000000000 +0200
@@ -1,3 +1,11 @@
+openjdk-8 (8u121-b13-4.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * openjdk-8-jre-headless: Add Breaks: tzdata-java to ensure openjdk gets
+    upgraded on dist-upgrades from jessie.  (Closes: #857992)
+
+ -- Andreas Beckmann <anbe@xxxxxxxxxx>  Tue, 18 Apr 2017 22:32:33 +0200
+
 openjdk-8 (8u121-b13-4) unstable; urgency=medium
 
   * Drop Recommends on obsolete GNOME libraries so they are not in a
diff -Nru openjdk-8-8u121-b13/debian/control openjdk-8-8u121-b13/debian/control
--- openjdk-8-8u121-b13/debian/control	2017-02-08 07:24:37.000000000 +0100
+++ openjdk-8-8u121-b13/debian/control	2017-04-10 01:00:58.000000000 +0200
@@ -55,6 +55,7 @@
   java7-runtime-headless, java8-runtime-headless,
   ${defaultvm:Provides}, ${jvm:Provides}
 Breaks: oracle-java8-installer (<< 8u77+8u77arm-1),
+  tzdata-java,
   ca-certificates-java (<< 20160321~)
 Description: OpenJDK Java runtime, using ${vm:Name} (headless)
  Minimal Java runtime - needed for executing non GUI Java programs,
diff -Nru openjdk-8-8u121-b13/debian/control.in openjdk-8-8u121-b13/debian/control.in
--- openjdk-8-8u121-b13/debian/control.in	2017-01-19 12:16:07.000000000 +0100
+++ openjdk-8-8u121-b13/debian/control.in	2017-04-10 01:00:21.000000000 +0200
@@ -55,6 +55,7 @@
   java7-runtime-headless, java8-runtime-headless,
   ${defaultvm:Provides}, ${jvm:Provides}
 Breaks: oracle-java8-installer (<< 8u77+8u77arm-1),
+  tzdata-java,
   ca-certificates-java (<< 20160321~)
 Description: OpenJDK Java runtime, using ${vm:Name} (headless)
  Minimal Java runtime - needed for executing non GUI Java programs,

References