Bug#1068602: swtpm-libs - still depends on old libglib2.0-0 after binnmu

2024-04-20 Thread Bastian Germann

I am uploading a NMU to fix this.
The debdiff is attached.diff -Nru swtpm-0.7.1/debian/changelog swtpm-0.7.1/debian/changelog
--- swtpm-0.7.1/debian/changelog2023-05-18 17:52:09.0 +
+++ swtpm-0.7.1/debian/changelog2024-04-20 10:43:03.0 +
@@ -1,3 +1,10 @@
+swtpm (0.7.1-1.4) unstable; urgency=medium
+
+  * Non-maintainer upload
+  * Don't hard-code dependency on shared library package (Closes: #1068602)
+
+ -- Bastian Germann   Sat, 20 Apr 2024 10:43:03 +
+
 swtpm (0.7.1-1.3) unstable; urgency=medium
 
   * Non-maintainer upload
diff -Nru swtpm-0.7.1/debian/control swtpm-0.7.1/debian/control
--- swtpm-0.7.1/debian/control  2023-05-18 17:30:13.0 +
+++ swtpm-0.7.1/debian/control  2024-04-20 10:41:02.0 +
@@ -49,7 +49,7 @@
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
-Depends: libglib2.0-0,
+Depends: ${lib:Depends},
  libtpms0,
  openssl,
  ${misc:Depends},
diff -Nru swtpm-0.7.1/debian/rules swtpm-0.7.1/debian/rules
--- swtpm-0.7.1/debian/rules2023-05-18 15:10:10.0 +
+++ swtpm-0.7.1/debian/rules2024-04-20 10:39:52.0 +
@@ -13,6 +13,9 @@
SWTPM_TEST_SECCOMP_OPT="--seccomp action=none" make -j4 check VERBOSE=1
 endif
 
+override_dh_gencontrol:
+   dh_gencontrol -- -Vlib:Depends="$(shell dpkg-query -f '$${Depends}' -W 
libglib2.0-dev | sed -E 's/.*(libglib2.0-0[[:alnum:]]+).*/\1/')"
+
 override_dh_clean:
dh_clean --exclude=man/man8/swtpm-localca.8
 


Bug#1068602: swtpm-libs - still depends on old libglib2.0-0 after binnmu

2024-04-07 Thread Peter Michael Green

Package: swtpm-libs
Version: 0.7.1-1.3
Severity: grave
Tags: trixie, sid
User: debian-...@lists.debian.org
Usertag: time-t

After being rebuilt for the time64 transition, swtpm-libs still depends
on libglib2.0-0 rather than libglib2.0-0t64. As a result swtpm-tools
is uninstallable on architectures that are undergoing the time64 transition
(armel, armhf and some debian-ports architectures).

https://qa.debian.org/dose/debcheck/unstable_main/1712466002/packages/swtpm-tools.html#d4ad4752e7c19dd554b6071ae9396bd1