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

Benjamin Drung bdrung at debian.org
Wed Feb 28 17:23:17 GMT 2024


Source: librostlab
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'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-21-generic (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
-------------- next part --------------
diff -Nru librostlab-1.0.20/debian/changelog librostlab-1.0.20/debian/changelog
--- librostlab-1.0.20/debian/changelog	2023-09-09 11:26:38.000000000 +0000
+++ librostlab-1.0.20/debian/changelog	2024-02-28 17:23:02.000000000 +0000
@@ -1,3 +1,10 @@
+librostlab (1.0.20-13.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062612
+
+ -- Benjamin Drung <bdrung at debian.org>  Wed, 28 Feb 2024 17:23:02 +0000
+
 librostlab (1.0.20-13) unstable; urgency=medium
 
   * Team Upload.
diff -Nru librostlab-1.0.20/debian/control librostlab-1.0.20/debian/control
--- librostlab-1.0.20/debian/control	2023-09-09 11:26:35.000000000 +0000
+++ librostlab-1.0.20/debian/control	2024-02-28 17:23:02.000000000 +0000
@@ -4,10 +4,10 @@
            Andreas Tille <tille at debian.org>
 Section: science
 Priority: optional
-Build-Depends: debhelper-compat (= 13),
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13),
                dh-linktree,
                debhelper
-Build-Depends-Arch: d-shlibs
+Build-Depends-Arch: dpkg-dev (>= 1.22.5), d-shlibs (>= 0.106~)
 Build-Depends-Indep: doxygen,
                      graphviz,
                      texlive-latex-recommended,
@@ -22,7 +22,10 @@
 Homepage: https://rostlab.org/
 Rules-Requires-Root: no
 
-Package: librostlab3
+Package: librostlab3t64
+Provides: ${t64:Provides}
+Replaces: librostlab3
+Conflicts: librostlab3 (<< ${source:Version})
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends},
@@ -48,7 +51,7 @@
 Package: librostlab3-dev
 Architecture: any
 Section: libdevel
-Depends: librostlab3 (= ${binary:Version}),
+Depends: librostlab3t64 (= ${binary:Version}),
          ${misc:Depends}
 Suggests: librostlab-doc
 Conflicts: librostlab-dev
diff -Nru librostlab-1.0.20/debian/librostlab3.symbols librostlab-1.0.20/debian/librostlab3.symbols
--- librostlab-1.0.20/debian/librostlab3.symbols	2023-09-09 11:14:32.000000000 +0000
+++ librostlab-1.0.20/debian/librostlab3.symbols	1970-01-01 00:00:00.000000000 +0000
@@ -1,2 +0,0 @@
-librostlab.so.3 librostlab3 #MINVER#
- _ZN7rostlab8blosum62E at Base 1.0.20
diff -Nru librostlab-1.0.20/debian/librostlab3t64.lintian-overrides librostlab-1.0.20/debian/librostlab3t64.lintian-overrides
--- librostlab-1.0.20/debian/librostlab3t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ librostlab-1.0.20/debian/librostlab3t64.lintian-overrides	2024-02-28 17:21:22.000000000 +0000
@@ -0,0 +1 @@
+librostlab3t64: package-name-doesnt-match-sonames librostlab3
diff -Nru librostlab-1.0.20/debian/librostlab3t64.symbols librostlab-1.0.20/debian/librostlab3t64.symbols
--- librostlab-1.0.20/debian/librostlab3t64.symbols	1970-01-01 00:00:00.000000000 +0000
+++ librostlab-1.0.20/debian/librostlab3t64.symbols	2024-02-28 17:21:22.000000000 +0000
@@ -0,0 +1,2 @@
+librostlab.so.3 librostlab3t64 #MINVER#
+ _ZN7rostlab8blosum62E at Base 1.0.20
diff -Nru librostlab-1.0.20/debian/rules librostlab-1.0.20/debian/rules
--- librostlab-1.0.20/debian/rules	2023-09-09 11:14:32.000000000 +0000
+++ librostlab-1.0.20/debian/rules	2024-02-28 17:23:00.000000000 +0000
@@ -16,6 +16,7 @@
 override_dh_install-arch:
 	dh_install
 	d-shlibmove --commit \
+		    --t64 \
 		    --multiarch \
 		    --exclude-la \
 		    --movedev debian/tmp/usr/include/* usr/include \


More information about the Debian-med-packaging mailing list