[med-svn] [imagej] 07/08: d/control: declare break and replace for libij-java (bug #876129)

Carnë Draug carandraug+dev at gmail.com
Tue Sep 26 14:32:10 UTC 2017


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

carandraug-guest pushed a commit to branch master
in repository imagej.

commit 9f51bc635af0e4f617bf1291a38aa9e92124590b
Author: Carnë Draug <carandraug+dev at gmail.com>
Date:   Tue Sep 26 15:27:08 2017 +0100

    d/control: declare break and replace for libij-java (bug #876129)
---
 debian/changelog | 4 ++++
 debian/control   | 4 +++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 3c99bd7..5566507 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,10 @@ imagej (1.51q-1) UNRELEASED; urgency=medium
 
   * New upstream release.
   * Declare the imagej dependency on the new libij-java package.
+  * Fix "fails to upgrade from 'testing' - trying to overwrite
+    /usr/share/java/ij.jar" by declaring that the new libij-java
+    package breaks and replaces older versions of the imagej
+    package (Closes: #876129)
 
  -- Carnë Draug <carandraug+dev at gmail.com>  Tue, 26 Sep 2017 14:15:55 +0100
 
diff --git a/debian/control b/debian/control
index 91a46ee..0f87d63 100644
--- a/debian/control
+++ b/debian/control
@@ -18,7 +18,7 @@ Package: imagej
 Architecture: all
 Depends: ${java:Depends}, ${misc:Depends},
  default-jre | java5-runtime,
- libij-java
+ libij-java (= ${source:Version})
 Recommends: ${java:Recommends}
 Description: Image processing program with a focus on microscopy images
  It can display, edit, analyze, process, save and print 8-bit, 16-bit and
@@ -45,6 +45,8 @@ Architecture: all
 Section: java
 Depends: ${misc:Depends}, ${java:Depends}
 Recommends: ${java:Recommends}
+Replaces: imagej (<< 1.51p+dfsg-1)
+Breaks: imagej (<< 1.51p+dfsg-1)
 Description: Java library for ImageJ
  ImageJ is a program for image analysis and processing, with a focus
  on microscopy images.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/imagej.git



More information about the debian-med-commit mailing list