public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH proxmox-ve-rs 2/3] d/control: specify the build-deps not needed for "nocheck" profile
       [not found] <20241121100917.1209701-1-jing@jing.rocks>
@ 2024-11-21 10:06 ` Jing Luo via pve-devel
  2024-11-21 10:06 ` [pve-devel] [PATCH proxmox-ve-rs 3/3] d/control: include a revision in the package version Jing Luo via pve-devel
  1 sibling, 0 replies; 2+ messages in thread
From: Jing Luo via pve-devel @ 2024-11-21 10:06 UTC (permalink / raw)
  To: pve-devel; +Cc: Jing Luo

[-- Attachment #1: Type: message/rfc822, Size: 6883 bytes --]

From: Jing Luo <jing@jing.rocks>
To: pve-devel@lists.proxmox.com
Cc: Jing Luo <jing@jing.rocks>
Subject: [PATCH proxmox-ve-rs 2/3] d/control: specify the build-deps not needed for "nocheck" profile
Date: Thu, 21 Nov 2024 19:06:50 +0900
Message-ID: <20241121100917.1209701-2-jing@jing.rocks>

These rust libs are not needed if using DEB_BUILD_PROFILES="nocheck". This
helps bootstrap proxmox to another arch in the future.

Signed-off-by: Jing Luo <jing@jing.rocks>
---
 proxmox-ve-config/debian/control | 32 ++++++++++++++++----------------
 1 file changed, 16 insertions(+), 16 deletions(-)

diff --git a/proxmox-ve-config/debian/control b/proxmox-ve-config/debian/control
index 4be4417..401d0ca 100644
--- a/proxmox-ve-config/debian/control
+++ b/proxmox-ve-config/debian/control
@@ -2,25 +2,25 @@ Source: rust-proxmox-ve-config
 Section: rust
 Priority: optional
 Maintainer: Proxmox Support Team <support@proxmox.com>
-Build-Depends: cargo:native,
+Build-Depends: cargo:native <!nocheck>,
                debhelper-compat (= 13),
                dh-sequence-cargo,
-               librust-anyhow-1+default-dev,
-               librust-log-0.4+default-dev (>= 0.4.17-~~),
-               librust-nix-0.26+default-dev (>= 0.26.1-~~),
-               librust-thiserror-dev (>= 1.0.59-~~),
-               librust-proxmox-schema-3+default-dev,
-               librust-proxmox-sortable-macro-dev,
-               librust-proxmox-sys-dev,
-               librust-serde-1+default-dev,
-               librust-serde-1+derive-dev,
-               librust-serde-json-1+default-dev,
-               librust-serde-plain-1+default-dev,
-               librust-serde-with+default-dev,
-               libstd-rust-dev,
-               netbase,
+               librust-anyhow-1+default-dev <!nocheck>,
+               librust-log-0.4+default-dev (>= 0.4.17-~~) <!nocheck>,
+               librust-nix-0.26+default-dev (>= 0.26.1-~~) <!nocheck>,
+               librust-thiserror-dev (>= 1.0.59-~~) <!nocheck>,
+               librust-proxmox-schema-3+default-dev <!nocheck>,
+               librust-proxmox-sortable-macro-dev <!nocheck>,
+               librust-proxmox-sys-dev <!nocheck>,
+               librust-serde-1+default-dev <!nocheck>,
+               librust-serde-1+derive-dev <!nocheck>,
+               librust-serde-json-1+default-dev <!nocheck>,
+               librust-serde-plain-1+default-dev <!nocheck>,
+               librust-serde-with+default-dev <!nocheck>,
+               libstd-rust-dev <!nocheck>,
+               netbase <!nocheck>,
                python3,
-               rustc:native (>= 1.82),
+               rustc:native (>= 1.82) <!nocheck>,
 Standards-Version: 4.7.0
 Homepage: https://www.proxmox.com
 
-- 
2.47.0




[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [pve-devel] [PATCH proxmox-ve-rs 3/3] d/control: include a revision in the package version
       [not found] <20241121100917.1209701-1-jing@jing.rocks>
  2024-11-21 10:06 ` [pve-devel] [PATCH proxmox-ve-rs 2/3] d/control: specify the build-deps not needed for "nocheck" profile Jing Luo via pve-devel
@ 2024-11-21 10:06 ` Jing Luo via pve-devel
  1 sibling, 0 replies; 2+ messages in thread
From: Jing Luo via pve-devel @ 2024-11-21 10:06 UTC (permalink / raw)
  To: pve-devel; +Cc: Jing Luo

[-- Attachment #1: Type: message/rfc822, Size: 6041 bytes --]

From: Jing Luo <jing@jing.rocks>
To: pve-devel@lists.proxmox.com
Cc: Jing Luo <jing@jing.rocks>
Subject: [PATCH proxmox-ve-rs 3/3] d/control: include a revision in the package version
Date: Thu, 21 Nov 2024 19:06:51 +0900
Message-ID: <20241121100917.1209701-3-jing@jing.rocks>

The "dsc" target also fails because of this:

error: can't build with source format '3.0 (quilt)': non-native package version does not contain a revision

d/source/format is automatically generated as '3.0 (quilt)', let's keep it that way.

Include a dch entry so no one will forget this when bumping the version. Also
add a lintian-override for the source package because of this.

Signed-off-by: Jing Luo <jing@jing.rocks>
---
 proxmox-ve-config/debian/changelog                | 8 ++++++++
 proxmox-ve-config/debian/source/lintian-overrides | 1 +
 2 files changed, 9 insertions(+)
 create mode 100644 proxmox-ve-config/debian/source/lintian-overrides

diff --git a/proxmox-ve-config/debian/changelog b/proxmox-ve-config/debian/changelog
index 433f7b2..91bd1bd 100644
--- a/proxmox-ve-config/debian/changelog
+++ b/proxmox-ve-config/debian/changelog
@@ -1,3 +1,11 @@
+rust-proxmox-ve-config (0.2.1-1) UNRELEASED; urgency=medium
+
+  * correct source package name
+  * specify the build-deps not needed for "nocheck" profile
+  * include a revision in the package version
+
+ -- Proxmox Support Team <support@proxmox.com>  Thu, 21 Nov 2024 18:48:51 +0900
+
 proxmox-ve-config (0.2.0) unstable; urgency=medium
 
   * firewall config: add sdn scope for ipsets
diff --git a/proxmox-ve-config/debian/source/lintian-overrides b/proxmox-ve-config/debian/source/lintian-overrides
new file mode 100644
index 0000000..95b87e8
--- /dev/null
+++ b/proxmox-ve-config/debian/source/lintian-overrides
@@ -0,0 +1 @@
+rust-proxmox-ve-config source: odd-historical-debian-changelog-version 0.2.0 (for non-native) [debian/changelog:9]
-- 
2.47.0




[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-11-21 10:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20241121100917.1209701-1-jing@jing.rocks>
2024-11-21 10:06 ` [pve-devel] [PATCH proxmox-ve-rs 2/3] d/control: specify the build-deps not needed for "nocheck" profile Jing Luo via pve-devel
2024-11-21 10:06 ` [pve-devel] [PATCH proxmox-ve-rs 3/3] d/control: include a revision in the package version Jing Luo via pve-devel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal