[Debian-med-packaging] Bug#1062427: ghmm: NMU diff for 64-bit time_t transition

Steve Langasek vorlon at debian.org
Sun Feb 25 03:27:19 GMT 2024


The previous patch unfortunately failed to build because d-shlibs requires
the use of Conflicts instead of Breaks on previous package names.  Please
find a fixed patch attached.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
diff -Nru ghmm-0.9~rc3/debian/changelog ghmm-0.9~rc3/debian/changelog
--- ghmm-0.9~rc3/debian/changelog	2024-02-07 14:25:59.000000000 +0000
+++ ghmm-0.9~rc3/debian/changelog	2024-02-25 03:11:36.000000000 +0000
@@ -1,3 +1,18 @@
+ghmm (0.9~rc3-5.1~exp1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Use Conflicts, not Breaks, to satisfy d-shlibs
+
+ -- Steve Langasek <vorlon at debian.org>  Sun, 25 Feb 2024 03:11:36 +0000
+
+ghmm (0.9~rc3-5.1~exp) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+  * Bump build-dependency on d-shlibs for --t64 support.
+
+ -- Lukas M?rdian <slyon at debian.org>  Wed, 07 Feb 2024 18:14:34 +0100
+
 ghmm (0.9~rc3-5) unstable; urgency=medium
 
   * Team upload.
diff -Nru ghmm-0.9~rc3/debian/control ghmm-0.9~rc3/debian/control
--- ghmm-0.9~rc3/debian/control	2024-02-07 14:25:59.000000000 +0000
+++ ghmm-0.9~rc3/debian/control	2024-02-25 03:11:05.000000000 +0000
@@ -5,7 +5,7 @@
 Priority: optional
 Build-Depends: debhelper-compat (= 13),
                dh-sequence-python3,
-               d-shlibs,
+               d-shlibs (>= 0.106~),
                python3-dev,
                pkg-config,
                libxml2-dev,
@@ -25,7 +25,7 @@
          ${misc:Depends},
          ${python3:Depends},
          python3,
-         libghmm1
+         libghmm1t64
 Recommends: libopenblas0 | libblis4
 Description: General Hidden-Markov-Model library - tools
  The General Hidden Markov Model Library (GHMM) is a C library with
@@ -40,8 +40,8 @@
 Section: libdevel
 Depends: ${shlibs:Depends},
          ${misc:Depends},
-         libghmm1 (>= ${source:Upstream-Version}),
-         libghmm1 (<< ${source:Upstream-Version}+1)
+         libghmm1t64 (>= ${source:Upstream-Version}),
+         libghmm1t64 (<< ${source:Upstream-Version}+1)
 Description: General Hidden-Markov-Model library - header files
  The General Hidden Markov Model Library (GHMM) is a C library with
  additional Python3 bindings implementing a wide range of types of
@@ -50,7 +50,10 @@
  .
  Header files and static library to compile against the library.
 
-Package: libghmm1
+Package: libghmm1t64
+Provides: ${t64:Provides}
+Replaces: libghmm1
+Conflicts: libghmm1 (<< ${source:Version})
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends},
diff -Nru ghmm-0.9~rc3/debian/libghmm1t64.lintian-overrides ghmm-0.9~rc3/debian/libghmm1t64.lintian-overrides
--- ghmm-0.9~rc3/debian/libghmm1t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ ghmm-0.9~rc3/debian/libghmm1t64.lintian-overrides	2024-02-07 17:14:34.000000000 +0000
@@ -0,0 +1 @@
+libghmm1t64: package-name-doesnt-match-sonames libghmm1
diff -Nru ghmm-0.9~rc3/debian/rules ghmm-0.9~rc3/debian/rules
--- ghmm-0.9~rc3/debian/rules	2024-02-07 14:25:59.000000000 +0000
+++ ghmm-0.9~rc3/debian/rules	2024-02-07 17:14:34.000000000 +0000
@@ -23,6 +23,7 @@
 
 override_dh_install:
 	d-shlibmove --commit \
+		    --t64 \
 		    --multiarch \
 		    --devunversioned \
 		    --exclude-la \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20240224/df4ba79d/attachment.sig>


More information about the Debian-med-packaging mailing list