Source: stopt
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
diff -Nru stopt-5.8+dfsg/debian/changelog stopt-5.8+dfsg/debian/changelog
--- stopt-5.8+dfsg/debian/changelog     2023-10-13 14:48:54.000000000 +0000
+++ stopt-5.8+dfsg/debian/changelog     2024-02-29 17:38:41.000000000 +0000
@@ -1,3 +1,10 @@
+stopt (5.8+dfsg-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062931
+
+ -- Benjamin Drung <[email protected]>  Thu, 29 Feb 2024 17:38:41 +0000
+
 stopt (5.8+dfsg-1) unstable; urgency=medium
 
   * New upstream version 5.8+dfsg
diff -Nru stopt-5.8+dfsg/debian/control stopt-5.8+dfsg/debian/control
--- stopt-5.8+dfsg/debian/control       2023-06-26 09:46:09.000000000 +0000
+++ stopt-5.8+dfsg/debian/control       2024-02-29 17:38:41.000000000 +0000
@@ -4,9 +4,9 @@
            Xavier Warin <[email protected]>
 Section: math
 Priority: optional
-Build-Depends: debhelper-compat (= 13),
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13),
                dh-python,
-Build-Depends-Arch: cmake,
+Build-Depends-Arch: dpkg-dev (>= 1.22.5), cmake,
                     coinor-libcoinutils-dev,
                     coinor-libosi-dev,
                     coinor-libclp-dev,
@@ -37,7 +37,10 @@
 Homepage: https://gitlab.com/stochastic-control/StOpt/
 Rules-Requires-Root: no
 
-Package: libstopt5
+Package: libstopt5t64
+Provides: ${t64:Provides}
+Replaces: libstopt5
+Breaks: libstopt5 (<< ${source:Version})
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends},
@@ -77,7 +80,7 @@
 Package: libstopt-dev
 Architecture: any
 Section: libdevel
-Depends: libstopt5 (= ${binary:Version}),
+Depends: libstopt5t64 (= ${binary:Version}),
          coinor-libcoinutils-dev,
          coinor-libosi-dev,
          coinor-libclp-dev,
@@ -159,7 +162,7 @@
 Architecture: all
 Section: doc
 Depends: ${misc:Depends}
-Suggests: libstopt5 (= ${binary:Version}),
+Suggests: libstopt5t64 (= ${binary:Version}),
           libstopt-dev (= ${binary:Version}),
           stopt-examples (= ${binary:Version}),
           python3-stopt (= ${binary:Version})
diff -Nru stopt-5.8+dfsg/debian/libstopt5.install 
stopt-5.8+dfsg/debian/libstopt5.install
--- stopt-5.8+dfsg/debian/libstopt5.install     2022-06-28 20:10:54.000000000 
+0000
+++ stopt-5.8+dfsg/debian/libstopt5.install     1970-01-01 00:00:00.000000000 
+0000
@@ -1,2 +0,0 @@
-usr/lib/*/libstopt.so.*
-usr/lib/*/libstopt-mpi.so.*
diff -Nru stopt-5.8+dfsg/debian/libstopt5.lintian-overrides 
stopt-5.8+dfsg/debian/libstopt5.lintian-overrides
--- stopt-5.8+dfsg/debian/libstopt5.lintian-overrides   2022-06-28 
20:10:54.000000000 +0000
+++ stopt-5.8+dfsg/debian/libstopt5.lintian-overrides   1970-01-01 
00:00:00.000000000 +0000
@@ -1,5 +0,0 @@
-# We won't issue symbols files for this C++ library, using shlibs instead
-no-symbols-control-file usr/lib/*/libstopt-mpi.so.*
-
-# We won't issue symbols files for this C++ library, using shlibs instead
-no-symbols-control-file usr/lib/*/libstopt.so.*
diff -Nru stopt-5.8+dfsg/debian/libstopt5t64.install 
stopt-5.8+dfsg/debian/libstopt5t64.install
--- stopt-5.8+dfsg/debian/libstopt5t64.install  1970-01-01 00:00:00.000000000 
+0000
+++ stopt-5.8+dfsg/debian/libstopt5t64.install  2022-06-28 20:10:54.000000000 
+0000
@@ -0,0 +1,2 @@
+usr/lib/*/libstopt.so.*
+usr/lib/*/libstopt-mpi.so.*
diff -Nru stopt-5.8+dfsg/debian/libstopt5t64.lintian-overrides 
stopt-5.8+dfsg/debian/libstopt5t64.lintian-overrides
--- stopt-5.8+dfsg/debian/libstopt5t64.lintian-overrides        1970-01-01 
00:00:00.000000000 +0000
+++ stopt-5.8+dfsg/debian/libstopt5t64.lintian-overrides        2024-02-29 
17:37:37.000000000 +0000
@@ -0,0 +1,6 @@
+# We won't issue symbols files for this C++ library, using shlibs instead
+no-symbols-control-file usr/lib/*/libstopt-mpi.so.*
+
+# We won't issue symbols files for this C++ library, using shlibs instead
+no-symbols-control-file usr/lib/*/libstopt.so.*
+libstopt5t64: package-name-doesnt-match-sonames libstopt5

Reply via email to