Package: librust-signature-dev
Version: 2.2.0+ds-3
Severity: normal
Control: tags -1 patch

Hey Jonas!

The attached patch updates the Provides: of librust-signature-dev so
that it indicates more detailed version+feature information.

Sticking to this standard makes life easier for the rsa crate, which
wants to depend on
librust-signature-2.2+{alloc,digest,rand-core,std}-dev.

The attached patch is also on the "update-provides" branch of
https://salsa.debian.org/debian/rust-signature.

Thanks for maintaining rust-signature!  Hope this is helpful.

Regards,

        --dkg


-- System Information:
Debian Release: trixie/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing'), (200, 
'unstable-debug'), (200, 'unstable'), (1, 'experimental-debug'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.11.10-amd64 (SMP w/20 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages librust-signature-dev depends on:
ii  librust-digest-dev [librust-digest-0.10-dev]                 0.10.7-2+b1
ii  librust-proc-macro2-dev [librust-proc-macro2-1+default-dev]  1.0.86-1
ii  librust-quote-dev [librust-quote-1+default-dev]              1.0.37-1
ii  librust-rand-core-dev [librust-rand-core-0.6-dev]            0.6.4-2
ii  librust-syn-1-dev [librust-syn-1+default-dev]                1.0.109-3

librust-signature-dev recommends no packages.

librust-signature-dev suggests no packages.

-- no debconf information

From ba31591c3c9bd8aa872aaf96c7b76edd31d43894 Mon Sep 17 00:00:00 2001
From: Daniel Kahn Gillmor <[email protected]>
Date: Thu, 5 Dec 2024 10:39:12 -0500
Subject: [PATCH] Provides: includes versioned features

Without this change, the debian packaging for the RSA crate needs to
be patched to adjust its dependency annotations for rust-signature.
---
 debian/control | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/debian/control b/debian/control
index c7614e5..5407d7d 100644
--- a/debian/control
+++ b/debian/control
@@ -36,7 +36,19 @@ Provides:
  librust-signature-2+rand-core-dev (= ${binary:Version}),
  librust-signature-2+std-dev (= ${binary:Version}),
  librust-signature-2-dev (= ${binary:Version}),
+ librust-signature-2.2+alloc-dev (= ${binary:Version}),
+ librust-signature-2.2+default-dev (= ${binary:Version}),
+ librust-signature-2.2+derive-dev (= ${binary:Version}),
+ librust-signature-2.2+digest-dev (= ${binary:Version}),
+ librust-signature-2.2+rand-core-dev (= ${binary:Version}),
+ librust-signature-2.2+std-dev (= ${binary:Version}),
  librust-signature-2.2-dev (= ${binary:Version}),
+ librust-signature-2.2.0+alloc-dev (= ${binary:Version}),
+ librust-signature-2.2.0+default-dev (= ${binary:Version}),
+ librust-signature-2.2.0+derive-dev (= ${binary:Version}),
+ librust-signature-2.2.0+digest-dev (= ${binary:Version}),
+ librust-signature-2.2.0+rand-core-dev (= ${binary:Version}),
+ librust-signature-2.2.0+std-dev (= ${binary:Version}),
  librust-signature-2.2.0-dev (= ${binary:Version}),
  librust-signature-derive-2+default-dev (= ${rust:Version:librust-signature-derive-dev}),
  librust-signature-derive-2-dev (= ${rust:Version:librust-signature-derive-dev}),
-- 
2.45.2

Attachment: signature.asc
Description: PGP signature

Reply via email to