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

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


Source: libsbml
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 libsbml-5.20.2+dfsg/debian/changelog libsbml-5.20.2+dfsg/debian/changelog
--- libsbml-5.20.2+dfsg/debian/changelog	2023-12-31 14:03:26.000000000 +0000
+++ libsbml-5.20.2+dfsg/debian/changelog	2024-02-28 18:43:04.000000000 +0000
@@ -1,3 +1,10 @@
+libsbml (5.20.2+dfsg-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062619
+
+ -- Benjamin Drung <bdrung at debian.org>  Wed, 28 Feb 2024 18:43:04 +0000
+
 libsbml (5.20.2+dfsg-2) unstable; urgency=medium
 
   * Team upload.
diff -Nru libsbml-5.20.2+dfsg/debian/control libsbml-5.20.2+dfsg/debian/control
--- libsbml-5.20.2+dfsg/debian/control	2023-12-31 14:03:26.000000000 +0000
+++ libsbml-5.20.2+dfsg/debian/control	2024-02-28 18:43:04.000000000 +0000
@@ -4,7 +4,7 @@
            Andreas Tille <tille at debian.org>
 Section: science
 Priority: optional
-Build-Depends: debhelper-compat (= 13),
+Build-Depends: dpkg-dev (>= 1.22.5), dpkg-dev (>= 1.22.5), debhelper-compat (= 13),
                dh-python,
                cmake,
                dh-exec,
@@ -43,7 +43,7 @@
 Package: libsbml5-dev
 Architecture: any-amd64 arm64 armel armhf any-i386 loong64 mips64el ppc64el s390x ia64 ppc64 riscv64 sh4 sparc64 x32
 Section: libdevel
-Depends: libsbml5 (= ${binary:Version}),
+Depends: libsbml5t64 (= ${binary:Version}),
          ${misc:Depends}
 Provides: libsbml-dev
 Description: System Biology Markup Language library - development files
@@ -54,13 +54,15 @@
  .
  This package contains files necessary for development with libsbml.
 
-Package: libsbml5
+Package: libsbml5t64
+Replaces: libsbml5
+Breaks: libsbml5 (<< ${source:Version})
 Architecture: any-amd64 arm64 armel armhf any-i386 loong64 mips64el ppc64el s390x ia64 ppc64 riscv64 sh4 sparc64 x32
 Section: libs
 Depends: ${shlibs:Depends},
          ${misc:Depends}
 Pre-Depends: ${misc:Pre-Depends}
-Provides: libsbml
+Provides: ${t64:Provides}, libsbml
 Multi-Arch: same
 Description: System Biology Markup Language library
  LibSBML is a library designed to help you read, write, manipulate,
diff -Nru libsbml-5.20.2+dfsg/debian/libsbml5.docs libsbml-5.20.2+dfsg/debian/libsbml5.docs
--- libsbml-5.20.2+dfsg/debian/libsbml5.docs	2023-12-31 14:03:26.000000000 +0000
+++ libsbml-5.20.2+dfsg/debian/libsbml5.docs	1970-01-01 00:00:00.000000000 +0000
@@ -1,3 +0,0 @@
-FUNDING.txt
-README*
-VERSION.txt
diff -Nru libsbml-5.20.2+dfsg/debian/libsbml5.install libsbml-5.20.2+dfsg/debian/libsbml5.install
--- libsbml-5.20.2+dfsg/debian/libsbml5.install	2023-12-31 14:03:26.000000000 +0000
+++ libsbml-5.20.2+dfsg/debian/libsbml5.install	1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-usr/lib/*/libsbml.so.*
diff -Nru libsbml-5.20.2+dfsg/debian/libsbml5t64.docs libsbml-5.20.2+dfsg/debian/libsbml5t64.docs
--- libsbml-5.20.2+dfsg/debian/libsbml5t64.docs	1970-01-01 00:00:00.000000000 +0000
+++ libsbml-5.20.2+dfsg/debian/libsbml5t64.docs	2023-12-31 14:03:26.000000000 +0000
@@ -0,0 +1,3 @@
+FUNDING.txt
+README*
+VERSION.txt
diff -Nru libsbml-5.20.2+dfsg/debian/libsbml5t64.install libsbml-5.20.2+dfsg/debian/libsbml5t64.install
--- libsbml-5.20.2+dfsg/debian/libsbml5t64.install	1970-01-01 00:00:00.000000000 +0000
+++ libsbml-5.20.2+dfsg/debian/libsbml5t64.install	2023-12-31 14:03:26.000000000 +0000
@@ -0,0 +1 @@
+usr/lib/*/libsbml.so.*
diff -Nru libsbml-5.20.2+dfsg/debian/libsbml5t64.lintian-overrides libsbml-5.20.2+dfsg/debian/libsbml5t64.lintian-overrides
--- libsbml-5.20.2+dfsg/debian/libsbml5t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ libsbml-5.20.2+dfsg/debian/libsbml5t64.lintian-overrides	2024-02-28 18:41:03.000000000 +0000
@@ -0,0 +1 @@
+libsbml5t64: package-name-doesnt-match-sonames libsbml5


More information about the Debian-med-packaging mailing list