common: add versioned Breaks

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2022-08-17 13:13:47 +02:00
parent 39c29ee9a4
commit db85dc1b7a

View File

@ -12,12 +12,16 @@ Rules-Requires-Root: no
Package: libproxmox-rs-perl
Architecture: any
# always bump both versioned Depends and Breaks, otherwise systems with both
# libpmg-rs-perl and libpve-rs-perl might load an outdated lib and break
Depends:
${misc:Depends},
${perl:Depends},
${shlibs:Depends},
libpve-rs-perl (>= 0.7.0) | libpmg-rs-perl (>= 0.6.0),
Breaks: libpve-rs-perl (<< 0.6.0)
Breaks:
libpve-rs-perl (<< 0.7.0),
libpmg-rs-perl (<< 0.6.0),
Replaces: libpve-rs-perl (<< 0.6.0)
Description: PVE/PMG common parts which have been ported to Rust - Perl packages
Contains the perl side of modules provided by the libraries of both libpve-rs-perl and