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

Benjamin Drung bdrung at debian.org
Wed Feb 28 14:11:14 GMT 2024


Source: libmems
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 libmems-1.6.0+4725/debian/changelog libmems-1.6.0+4725/debian/changelog
--- libmems-1.6.0+4725/debian/changelog	2020-11-17 08:12:35.000000000 +0000
+++ libmems-1.6.0+4725/debian/changelog	2024-02-28 14:09:32.000000000 +0000
@@ -1,3 +1,10 @@
+libmems (1.6.0+4725-9.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062416
+
+ -- Benjamin Drung <bdrung at debian.org>  Wed, 28 Feb 2024 14:09:32 +0000
+
 libmems (1.6.0+4725-9) unstable; urgency=medium
 
   * Standards-Version: 4.5.1 (routine-update)
diff -Nru libmems-1.6.0+4725/debian/control libmems-1.6.0+4725/debian/control
--- libmems-1.6.0+4725/debian/control	2020-11-17 08:12:35.000000000 +0000
+++ libmems-1.6.0+4725/debian/control	2024-02-28 14:09:32.000000000 +0000
@@ -3,8 +3,8 @@
 Uploaders: Andreas Tille <tille at debian.org>
 Section: science
 Priority: optional
-Build-Depends: debhelper-compat (= 13),
-               d-shlibs,
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13),
+               d-shlibs (>= 0.106~),
                pkg-config,
                libgenome-dev,
                libboost-filesystem-dev,
@@ -20,7 +20,7 @@
 Package: libmems-dev
 Architecture: any
 Section: libdevel
-Depends: libmems1 (= ${binary:Version}),
+Depends: libmems1t64 (= ${binary:Version}),
          ${misc:Depends},
          ${devlibs:Depends}
 Provides: libmems-1.6-dev
@@ -37,16 +37,18 @@
  This is the development package containing the statically linked
  library and the header files.
 
-Package: libmems1
+Package: libmems1t64
+Provides: ${t64:Provides}
 Architecture: any
 Multi-Arch: same
 Section: libs
 Depends: ${shlibs:Depends},
          ${misc:Depends}
 Pre-Depends: ${misc:Pre-Depends}
-Conflicts: libmems-1.6-1,
+Conflicts: libmems1 (<< ${source:Version}),
+           libmems-1.6-1,
            libmems-1.6-1v5
-Replaces: libmems-1.6-1,
+Replaces: libmems1, libmems-1.6-1,
           libmems-1.6-1v5
 Description: library to support DNA string matching and comparative genomics
  libMems is a freely available software development library to support DNA
diff -Nru libmems-1.6.0+4725/debian/libmems1t64.lintian-overrides libmems-1.6.0+4725/debian/libmems1t64.lintian-overrides
--- libmems-1.6.0+4725/debian/libmems1t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ libmems-1.6.0+4725/debian/libmems1t64.lintian-overrides	2024-02-28 14:06:04.000000000 +0000
@@ -0,0 +1 @@
+libmems1t64: package-name-doesnt-match-sonames libmems1
diff -Nru libmems-1.6.0+4725/debian/rules libmems-1.6.0+4725/debian/rules
--- libmems-1.6.0+4725/debian/rules	2020-11-17 08:12:35.000000000 +0000
+++ libmems-1.6.0+4725/debian/rules	2024-02-28 14:09:30.000000000 +0000
@@ -8,6 +8,7 @@
 override_dh_install:
 	dh_install
 	d-shlibmove --commit \
+		    --t64 \
 	            --multiarch \
 		    --devunversioned \
 		    --exclude-la \


More information about the Debian-med-packaging mailing list