common: d/control: change binary package architecture from any to all

There is no architecture dependent binary files in the libproxmox-rs-perl deb
package. There is no shared libs either (says debhelper), so let's remove
that too. Slight adjustment for Makefile too.

Signed-off-by: Jing Luo <jing@jing.rocks>
This commit is contained in:
Jing Luo 2024-09-27 22:45:52 +09:00 committed by Thomas Lamprecht
parent f885544707
commit 2a1451f8f6
2 changed files with 2 additions and 3 deletions

View File

@ -2,7 +2,7 @@ include /usr/share/dpkg/pkg-info.mk
PACKAGE=libproxmox-rs-perl
ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
ARCH:=all
export GITVERSION:=$(shell git rev-parse HEAD)
PERL_INSTALLVENDORARCH != perl -MConfig -e 'print $$Config{installvendorarch};'

View File

@ -10,13 +10,12 @@ Homepage: https://www.proxmox.com
Rules-Requires-Root: no
Package: libproxmox-rs-perl
Architecture: any
Architecture: all
# 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: libpve-rs-perl (>= 0.8.10) | libpmg-rs-perl (>= 0.7.6),
${misc:Depends},
${perl:Depends},
${shlibs:Depends},
Breaks: libpmg-rs-perl (<< 0.6.2), libpve-rs-perl (<< 0.7.2),
Replaces: libpve-rs-perl (<< 0.6.0),
Description: PVE/PMG common perl parts for Rust perlmod bindings