Source: srpc
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 srpc-0.10.1/debian/changelog srpc-0.10.1/debian/changelog
--- srpc-0.10.1/debian/changelog        2024-01-08 13:28:03.000000000 +0000
+++ srpc-0.10.1/debian/changelog        2024-02-29 17:26:31.000000000 +0000
@@ -1,3 +1,10 @@
+srpc (0.10.1-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062923
+
+ -- Benjamin Drung <bdr...@debian.org>  Thu, 29 Feb 2024 17:26:31 +0000
+
 srpc (0.10.1-1) unstable; urgency=medium
 
   * New upstream version
diff -Nru srpc-0.10.1/debian/control srpc-0.10.1/debian/control
--- srpc-0.10.1/debian/control  2024-01-08 13:14:46.000000000 +0000
+++ srpc-0.10.1/debian/control  2024-02-29 17:26:31.000000000 +0000
@@ -2,7 +2,7 @@
 Maintainer: Lance Lin <lq27...@gmail.com>
 Section: libs
 Priority: optional
-Build-Depends: cmake,
+Build-Depends: dpkg-dev (>= 1.22.5), cmake,
                debhelper-compat (= 13),
                libworkflow-dev,
                libssl-dev,
@@ -16,13 +16,14 @@
 Homepage: https://github.com/sogou/srpc
 Rules-Requires-Root: no
 
-Package: libsrpc0
+Package: libsrpc0t64
+Provides: ${t64:Provides}
 Architecture: any
 Multi-Arch: same
 Depends: ${misc:Depends},
          ${shlibs:Depends}
-Breaks: libsrpc (<< 0.9.7-1)
-Replaces: libsrpc (<< 0.9.7-1)
+Breaks: libsrpc0 (<< ${source:Version}), libsrpc (<< 0.9.7-1)
+Replaces: libsrpc0, libsrpc (<< 0.9.7-1)
 Description: Sogou RPC (SRPC) Runtime Library
  SRPC is an enterprise-level RPC framework widely used by Tencent, Sogou and
  many small and medium-sized companies.  It handles hundreds of millions of
@@ -36,7 +37,7 @@
 Package: libsrpc-dev
 Architecture: any
 Multi-Arch: same
-Depends: libsrpc0 (= ${binary:Version}),
+Depends: libsrpc0t64 (= ${binary:Version}),
          libsrpc-bin (= ${binary:Version}),
          ${misc:Depends},
          ${shlibs:Depends}
diff -Nru srpc-0.10.1/debian/libsrpc0.install 
srpc-0.10.1/debian/libsrpc0.install
--- srpc-0.10.1/debian/libsrpc0.install 2024-01-08 13:12:06.000000000 +0000
+++ srpc-0.10.1/debian/libsrpc0.install 1970-01-01 00:00:00.000000000 +0000
@@ -1,2 +0,0 @@
-usr/lib/*/libsrpc.so.0.*
-usr/lib/*/libsrpc.so.0
diff -Nru srpc-0.10.1/debian/libsrpc0t64.install 
srpc-0.10.1/debian/libsrpc0t64.install
--- srpc-0.10.1/debian/libsrpc0t64.install      1970-01-01 00:00:00.000000000 
+0000
+++ srpc-0.10.1/debian/libsrpc0t64.install      2024-01-08 13:12:06.000000000 
+0000
@@ -0,0 +1,2 @@
+usr/lib/*/libsrpc.so.0.*
+usr/lib/*/libsrpc.so.0
diff -Nru srpc-0.10.1/debian/libsrpc0t64.lintian-overrides 
srpc-0.10.1/debian/libsrpc0t64.lintian-overrides
--- srpc-0.10.1/debian/libsrpc0t64.lintian-overrides    1970-01-01 
00:00:00.000000000 +0000
+++ srpc-0.10.1/debian/libsrpc0t64.lintian-overrides    2024-02-29 
17:26:26.000000000 +0000
@@ -0,0 +1 @@
+libsrpc0t64: package-name-doesnt-match-sonames libsrpc0

Reply via email to