[PATCH proxmox-perl-rs] common: d/control: change binary package architecture from `any` to `all`
Jing Luo
jing at jing.rocks
Fri Sep 27 15:45:52 CEST 2024
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 at jing.rocks>
---
This can improve portability. Let's go baby
---
common/pkg/Makefile | 2 +-
common/pkg/debian/control | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
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
--
2.46.2
More information about the pve-devel
mailing list