[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1035034: unblock: libmodulemd/2.14.0-3



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
X-Debbugs-Cc: libmodulemd@packages.debian.org, team+pkg-rpm@tracker.debian.org, roam@debian.org
Control: affects -1 + src:libmodulemd

Please unblock package libmodulemd; this is a pre-approval request
before I upload version 2.14.0-3 to unstable.

In version 2.13.0-1, I moved a file from the libmodulemd-dev package to
the gir1.2-modulemd-2.0 one, and I forgot to add the appropriate
Breaks+Replaces relationship. Helmut Grohne kindly reminded me in
the severity: serious bug #1034935 (thanks!).

[ Reason ]
Declare the Breaks+Replaces relationship so that dpkg will not fail to
unpack the new version of the gir-* package over the old version of
the -dev one.

[ Impact ]
An upgrade from bullseye to bookworm will break, see #1034935.

[ Tests ]
piuparts, I guess... no idea why I did not notice that :(

[ Risks ]
IMHO, no risk at all.

[ Checklist ]
  [x] all changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in testing

unblock libmodulemd/2.14.0-3
diff -Nru libmodulemd-2.14.0/debian/changelog libmodulemd-2.14.0/debian/changelog
--- libmodulemd-2.14.0/debian/changelog	2022-12-26 13:38:43.000000000 +0200
+++ libmodulemd-2.14.0/debian/changelog	2023-04-28 04:48:28.000000000 +0300
@@ -1,3 +1,10 @@
+libmodulemd (2.14.0-3) unstable; urgency=medium
+
+  * Declare that the gir-* package Breaks+Replaces older versions of
+    the -dev one. Closes: #1034935
+
+ -- Peter Pentchev <roam@debian.org>  Fri, 28 Apr 2023 04:48:28 +0300
+
 libmodulemd (2.14.0-2) unstable; urgency=medium
 
   * Use the GitHub API in the watch file.
diff -Nru libmodulemd-2.14.0/debian/control libmodulemd-2.14.0/debian/control
--- libmodulemd-2.14.0/debian/control	2022-12-26 13:38:30.000000000 +0200
+++ libmodulemd-2.14.0/debian/control	2023-04-28 04:45:57.000000000 +0300
@@ -70,6 +70,8 @@
 Section: introspection
 Architecture: any
 Multi-Arch: same
+Breaks: libmodulemd-dev (<< 2.13.0-1~)
+Replaces: libmodulemd-dev (<< 2.13.0-1~)
 Depends:
  ${gir:Depends},
  ${misc:Depends},

Attachment: signature.asc
Description: PGP signature


Reply to: