[neon/extras/kdiagram/Neon/release] debian: put the breaks/replaces in the correct package

Carlos De Maine null at kde.org
Sun Mar 3 22:04:32 GMT 2024


Git commit c954491aa1ed6dca4482b4c96f6473079e63d3b0 by Carlos De Maine.
Committed on 03/03/2024 at 22:04.
Pushed by carlosdem into branch 'Neon/release'.

put the breaks/replaces in the correct package

(cherry picked from commit 7b39284c31c628a2cbef57b53253b72a657cb995)

M  +14   -2    debian/control

https://invent.kde.org/neon/extras/kdiagram/-/commit/c954491aa1ed6dca4482b4c96f6473079e63d3b0

diff --git a/debian/control b/debian/control
index 25a11e8..727d90c 100644
--- a/debian/control
+++ b/debian/control
@@ -23,6 +23,8 @@ Package: libkchart6-dev
 Architecture: any
 Section: libdevel
 Multi-Arch: same
+Breaks: libkchart-dev (<< ${source:Version}~ciBuild),
+Replaces: libkchart-dev (<< ${source:Version}~ciBuild),
 Depends: libkchart6-3 (= ${binary:Version}),
          qt6-svg-dev,
          qt6-base-dev,
@@ -41,6 +43,10 @@ Depends: ${misc:Depends},
          ${shlibs:Depends}
 Recommends: libkchart-l10n (= ${binary:Version})
 Provides: libkchart-l10n
+Breaks: libkchart5-2 (<< ${source:Version}~ciBuild),
+        libkchart-l10n (<< ${source:Version}~ciBuild),
+Replaces: libkchart5-2 (<< ${source:Version}~ciBuild),
+          libkchart-l10n (<< ${source:Version}~ciBuild),
 Description: library for creating business charts (shared library)
  KD Charts provides an implementation of the ODF Chart specification. It
  supports stock charts, box charts, and whisker charts and allows one to
@@ -52,6 +58,8 @@ Package: libkgantt6-dev
 Architecture: any
 Section: libdevel
 Multi-Arch: same
+Breaks: libkgantt-dev (<< ${source:Version}~ciBuild),
+Replaces: libkgantt-dev (<< ${source:Version}~ciBuild),
 Depends: libkgantt6-3 (= ${binary:Version}),
          qt6-base-dev,
          ${misc:Depends}
@@ -64,10 +72,14 @@ Description: library for creating Gantt diagrams (development files)
 Package: libkgantt6-3
 Architecture: any
 Multi-Arch: same
-Depends: ${misc:Depends},
-         ${shlibs:Depends}
 Recommends: libkgantt-l10n (= ${binary:Version})
 Provides: libkgantt-l10n
+Breaks: libkgantt2 (<< ${source:Version}~ciBuild),
+        libkgantt-l10n (<< ${source:Version}~ciBuild),
+Replaces: libkgantt2 (<< ${source:Version}~ciBuild),
+          libkgantt-l10n (<< ${source:Version}~ciBuild),
+Depends: ${misc:Depends},
+         ${shlibs:Depends}
 Description: library for creating Gantt diagrams (shared library)
  Gantt charts are a bar charts that illustrate project schedules. KD Gantt
  provides a module for implementing ODF Gantt charts in Qt-based applications.


More information about the Neon-commits mailing list