From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id 795551FF17F for ; Tue, 1 Oct 2024 09:54:57 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id BF31F34035; Tue, 1 Oct 2024 09:55:07 +0200 (CEST) To: pve-devel@lists.proxmox.com Date: Fri, 27 Sep 2024 22:45:52 +0900 X-Mailman-Approved-At: Tue, 01 Oct 2024 09:55:05 +0200 MIME-Version: 1.0 Message-ID: List-Id: Proxmox VE development discussion List-Post: From: Jing Luo via pve-devel Precedence: list Cc: Jing Luo X-Mailman-Version: 2.1.29 X-BeenThere: pve-devel@lists.proxmox.com List-Subscribe: , List-Unsubscribe: , List-Archive: Reply-To: Proxmox VE development discussion List-Help: Subject: [pve-devel] [PATCH proxmox-perl-rs] common: d/control: change binary package architecture from `any` to `all` Content-Type: multipart/mixed; boundary="===============0259747132622530334==" Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" --===============0259747132622530334== Content-Type: message/rfc822 Content-Disposition: inline Return-Path: X-Original-To: pve-devel@lists.proxmox.com Delivered-To: pve-devel@lists.proxmox.com Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 1D0E0C17A5 for ; Fri, 27 Sep 2024 15:49:09 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 027971A1D5 for ; Fri, 27 Sep 2024 15:49:09 +0200 (CEST) Received: from mail-gw3.jing.rocks (mail-gw3.jing.rocks [219.117.250.209]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS for ; Fri, 27 Sep 2024 15:49:06 +0200 (CEST) Received: from mail-gw3.jing.rocks (localhost [127.0.0.1]) by mail-gw3.jing.rocks (Proxmox) with ESMTP id A4C4420111 for ; Fri, 27 Sep 2024 22:48:55 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jing.rocks; h=cc :cc:content-transfer-encoding:date:from:from:message-id :mime-version:reply-to:subject:subject:to:to; s=mail-gw; bh=V2Gt Exr3jLqpQdQrs6V9ER3K/almdOHaOJVRuMjF1Lk=; b=QMSSSMx/XnPvL7FoO68R SYXZEdAy7SNF/HTVgNsQF4OsB+wW2sdBATIUkDhrILQRm6OCMBI7OqrsgndXuwnH DSpB8evp9rGH3W4g5MAmukQ5kPTXasBfvyoBUPuYeXpTc9q8MnRpl18hFYRFPOL8 H79jueuCKWn5mgHxgk7Bg4JG38LEfHK/46dTm4CfQT8p/o6fX3NNUM1IW0WI/iJO FcYrL00waLgIBlFMKewO0OmWzXm366XLX2iiZnaufQrc8m0XV3SntoIU9K+i21gI 7FzwurnlmxAqOmM0FPbpCLFljoiA4MF/qjAuRKMZjXOLVFagJlDQnIkRf9tl3ulG 9w== Received: from mail.jing.rocks (mail.jing.rocks [192.168.0.222]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail-gw3.jing.rocks (Proxmox) with ESMTPS id A3BD820110 for ; Fri, 27 Sep 2024 22:48:52 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=jing.rocks; s=default; t=1727444932; bh=nMkDS239e0oX9yqwi8+/6oTTyrRZf/ulLv+ykqX/wuQ=; h=From:To:Cc:Subject:Date:From; b=WdXrDjtkk8cVds1hd+EpgWxT99ei+p3GasNCjG+r2bGE2+OcvbZEnoGYe9pK1PYG1 DiQGp+rQOm3AJBv3n/MsZRKQhxzkkEjk/SwMmWn563WdSX+40CV+Jjh2eszVQ5h2LS xNokzcAfQOaI3MnopmNof1KjRms3hOZBMhTWU15SPLU93JfXG9gblwS5l5z5oPio1Z FyyleIk2cYlkDBfLQNVWiyoUxHBBWVmuk5z8yN2z06oSzkM8dS5zsLiIVD9FYTkRhw hHsE7d9U6ovCTVZqSQ6OMC8NvgQfV0Kr9uJGid2VxpMM/qW3ERGaXOX//MzGTmD6g5 MiQLordPsoBnQ== Received: from X570AM.jing.rocks (X570AM.jing.rocks [IPv6:240b:10:f00:1b00::7e82]) (Authenticated sender: jing@jing.rocks) by mail.jing.rocks (Postfix) with ESMTPSA id 892E13FD65; Fri, 27 Sep 2024 22:48:52 +0900 (JST) From: Jing Luo To: pve-devel@lists.proxmox.com Cc: Jing Luo Subject: [PATCH proxmox-perl-rs] common: d/control: change binary package architecture from `any` to `all` Date: Fri, 27 Sep 2024 22:45:52 +0900 Message-ID: <20240927134831.2655916-1-jing@jing.rocks> X-Mailer: git-send-email 2.46.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL -0.003 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain DMARC_PASS -0.1 DMARC pass policy KAM_INFOUSMEBIZ 0.75 Prevalent use of .info|.us|.me|.me.uk|.biz|xyz|id|rocks|life domains in spam/malware KAM_OTHER_BAD_TLD 0.75 Other untrustworthy TLDs RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [proxmox.com,jing.rocks,pkg-info.mk] X-Mailman-Approved-At: Tue, 01 Oct 2024 09:55:05 +0200 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 --- 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 --===============0259747132622530334== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel --===============0259747132622530334==--