diff --git a/common/pkg/Makefile b/common/pkg/Makefile index 76c8ebd..1e5cf1d 100644 --- a/common/pkg/Makefile +++ b/common/pkg/Makefile @@ -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};' diff --git a/common/pkg/debian/control b/common/pkg/debian/control index 0f79a7e..8abe467 100644 --- a/common/pkg/debian/control +++ b/common/pkg/debian/control @@ -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