Source: spherepack
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 spherepack-3.3~a1/debian/changelog spherepack-3.3~a1/debian/changelog
--- spherepack-3.3~a1/debian/changelog  2021-08-23 11:01:41.000000000 +0000
+++ spherepack-3.3~a1/debian/changelog  2024-02-29 17:14:54.000000000 +0000
@@ -1,3 +1,10 @@
+spherepack (3.3~a1-5.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062919
+
+ -- Benjamin Drung <bdr...@debian.org>  Thu, 29 Feb 2024 17:14:54 +0000
+
 spherepack (3.3~a1-5) unstable; urgency=medium
 
   * Standards-Version: 4.6.1
diff -Nru spherepack-3.3~a1/debian/control spherepack-3.3~a1/debian/control
--- spherepack-3.3~a1/debian/control    2021-08-23 11:01:41.000000000 +0000
+++ spherepack-3.3~a1/debian/control    2024-02-29 17:14:54.000000000 +0000
@@ -2,7 +2,7 @@
 Section:  utils
 Priority: optional
 Maintainer: Alastair McKinstry <mckins...@debian.org>
-Build-Depends: debhelper-compat (= 13),  
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13),  
  dh-sequence-python3,
  gfortran | fortran-compiler, 
  python3-numpy, 
@@ -17,7 +17,7 @@
 Section: libdevel
 Multi-Arch: same
 Architecture: any
-Depends: ${misc:Depends}, ${shlibs:Depends}, libsphere0d (= ${binary:Version})
+Depends: ${misc:Depends}, ${shlibs:Depends}, libsphere0t64 (= 
${binary:Version})
 Description: Development files for Spherepack scientific library
  SPHEREPACK is a collection of FORTRAN programs that facilitates computer 
  modeling of geophysical processes. The package contains programs for computing
@@ -36,7 +36,11 @@
  equally-spaced and Gauss distributed latitudinal points as well as programs 
  that transfer data between these grids.
 
-Package: libsphere0d
+Package: libsphere0t64
+Provides: ${t64:Provides}
+X-Time64-Compat: libsphere0d
+Replaces: libsphere0d
+Breaks: libsphere0d (<< ${source:Version})
 Section: libs
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
@@ -54,7 +58,7 @@
 Section: python
 Architecture: any
 Multi-Arch: foreign
-Depends: ${python3:Depends}, ${misc:Depends}, ${shlibs:Depends}, libsphere0d 
(=${binary:Version}), python3-numpy
+Depends: ${python3:Depends}, ${misc:Depends}, ${shlibs:Depends}, libsphere0t64 
(=${binary:Version}), python3-numpy
 Description: Python3 interface to the spherepack scientific library.
  This is a python3 interface to spherepack, a library for geophysical 
processes.
 
diff -Nru spherepack-3.3~a1/debian/libsphere0d.install 
spherepack-3.3~a1/debian/libsphere0d.install
--- spherepack-3.3~a1/debian/libsphere0d.install        2021-08-23 
11:01:41.000000000 +0000
+++ spherepack-3.3~a1/debian/libsphere0d.install        1970-01-01 
00:00:00.000000000 +0000
@@ -1 +0,0 @@
-/usr/lib/*/libsphere-*.so.0d
diff -Nru spherepack-3.3~a1/debian/libsphere0t64.install 
spherepack-3.3~a1/debian/libsphere0t64.install
--- spherepack-3.3~a1/debian/libsphere0t64.install      1970-01-01 
00:00:00.000000000 +0000
+++ spherepack-3.3~a1/debian/libsphere0t64.install      2021-08-23 
11:01:41.000000000 +0000
@@ -0,0 +1 @@
+/usr/lib/*/libsphere-*.so.0d
diff -Nru spherepack-3.3~a1/debian/libsphere0t64.lintian-overrides 
spherepack-3.3~a1/debian/libsphere0t64.lintian-overrides
--- spherepack-3.3~a1/debian/libsphere0t64.lintian-overrides    1970-01-01 
00:00:00.000000000 +0000
+++ spherepack-3.3~a1/debian/libsphere0t64.lintian-overrides    2024-02-29 
17:14:46.000000000 +0000
@@ -0,0 +1 @@
+libsphere0t64: package-name-doesnt-match-sonames libsphere0d

Reply via email to