Bug#1028502: cpdb-libs: Missing Breaks/Replaces for file move

2023-01-12 Thread Jeremy Bicha
Patch attached.

Thank you,
Jeremy Bicha
From 868befddf686c24780207c9e3b7ae2744a570da7 Mon Sep 17 00:00:00 2001
From: Jeremy Bicha 
Date: Wed, 11 Jan 2023 19:35:36 -0500
Subject: [PATCH] Add Breaks/Replaces for file moved compared to older Ubuntu
 package

Closes: #1028502
---
 debian/control | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/control b/debian/control
index 52942ba..c19834d 100644
--- a/debian/control
+++ b/debian/control
@@ -149,6 +149,9 @@ Package: libcpdb-libs-tools
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends},
  libcpdb-libs-common1 (= ${binary:Version})
+# The Breaks/Replaces can be dropped after Ubuntu 24.04 LTS (April 2024)
+Breaks: libcpdb-libs-common-dev (<< 1.2.0-1~)
+Replaces: libcpdb-libs-common-dev (<< 1.2.0-1~)
 Description: Common Print Dialog Backends - tools
  The Common Print Dialog Backends project provides a D-Bus interface
  so that the print dialogs of GUI applications and the communication


Bug#1028502: cpdb-libs: Missing Breaks/Replaces for file move

2023-01-11 Thread Jeremy Bicha
Source: cpdb-libs
Version: 1.2.0-1
Severity: important
Tags: patch
X-Debbugs-CC: deb...@alteholz.de

The Debian packaging for cpdb-libs was based on the Ubuntu packaging.
One change was that usr/bin/print_frontend was moved to a separate
binary package. Breaks/Replaces are required for that move to avoid
upgrade problems in Ubuntu. I'm attaching a patch in my followup
email.

Thank you,
Jeremy Bicha