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

Steve Langasek vorlon at debian.org
Wed Feb 28 17:43:51 GMT 2024


Dear maintainer,

Please find attached a final version of this patch for the time_t
transition.  This patch is being uploaded to unstable.

Note that this adds a versioned build-dependency on dpkg-dev, to guard
against accidental backports with a wrong ABI.

Thanks!


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-14-generic (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
-------------- 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-28 17:43:09.000000000 +0000
@@ -1,3 +1,10 @@
+ghmm (0.9~rc3-5.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062427
+
+ -- Steve Langasek <vorlon at debian.org>  Wed, 28 Feb 2024 17:43:09 +0000
+
 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-28 17:43:09.000000000 +0000
@@ -3,9 +3,9 @@
 Uploaders: Steffen Moeller <moeller at debian.org>
 Section: science
 Priority: optional
-Build-Depends: debhelper-compat (= 13),
+Build-Depends: dpkg-dev (>= 1.22.5), 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-28 17:40:50.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-28 17:43:08.000000000 +0000
@@ -23,6 +23,7 @@
 
 override_dh_install:
 	d-shlibmove --commit \
+		    --t64 \
 		    --multiarch \
 		    --devunversioned \
 		    --exclude-la \


More information about the Debian-med-packaging mailing list