public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-der] f44: Update to version 0.8.0; Fixes RHBZ#2439740
@ 2026-07-01 10:45 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-07-01 10:45 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-der
Branch : f44
Commit : 6697c402b72a4ee6fd9eaf72579c033cc1d7caaf
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-06-29T06:09:09+01:00
Stats  : +41/-24 in 6 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-der/c/6697c402b72a4ee6fd9eaf72579c033cc1d7caaf?branch=f44

Log:
Update to version 0.8.0; Fixes RHBZ#2439740

---
diff --git a/.gitignore b/.gitignore
index 8845921..d5a758c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@
 /der-0.7.8.crate
 /der-0.7.9.crate
 /der-0.7.10.crate
+/der-0.8.0.crate

diff --git a/der-fix-metadata.diff b/der-fix-metadata.diff
deleted file mode 100644
index 9367e5a..0000000
--- a/der-fix-metadata.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- der-0.7.10/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ der-0.7.10/Cargo.toml	2025-12-04T07:08:14.583899+00:00
-@@ -129,7 +129,7 @@
- default-features = false
- 
- [dev-dependencies.hex-literal]
--version = "0.4.1"
-+version = ">=0.4.1, <2.0"
- 
- [dev-dependencies.proptest]
- version = "1"

diff --git a/rust-der.rpmlintrc b/rust-der.rpmlintrc
new file mode 100644
index 0000000..746f93a
--- /dev/null
+++ b/rust-der.rpmlintrc
@@ -0,0 +1,2 @@
+# Not real spelling errors:
+addFilter(r" spelling-error \('([Aa]lloc|[Hh]eapless)',")

diff --git a/rust-der.spec b/rust-der.spec
index f17bbfa..b1486eb 100644
--- a/rust-der.spec
+++ b/rust-der.spec
@@ -5,24 +5,20 @@
 %global crate der
 
 Name:           rust-der
-Version:        0.7.10
+Version:        0.8.0
 Release:        %autorelease
 Summary:        Pure Rust embedded-friendly implementation of DER for ASN.1
 
 License:        Apache-2.0 OR MIT
 URL:            https://crates.io/crates/der
 Source:         %{crates_source}
-# Manually created patch for downstream crate metadata changes
-# * Allow hex-literal 1.0:
-#   https://github.com/RustCrypto/formats/commit/ed08fc043e7abb38a86fca10f114d15a86f4cb25
-Patch:          der-fix-metadata.diff
 
 BuildRequires:  cargo-rpm-macros >= 24
 
 %global _description %{expand:
 Pure Rust embedded-friendly implementation of the Distinguished Encoding
 Rules (DER) for Abstract Syntax Notation One (ASN.1) as described in ITU
-X.690 with full support for heapless no_std targets.}
+X.690 with full support for heapless `no_std`/`no_alloc` targets.}
 
 %description %{_description}
 
@@ -39,7 +35,6 @@ use the "%{crate}" crate.
 %license %{crate_instdir}/LICENSE-APACHE
 %license %{crate_instdir}/LICENSE-MIT
 %doc %{crate_instdir}/CHANGELOG.md
-%doc %{crate_instdir}/README.md
 %{crate_instdir}/
 
 %package     -n %{name}+default-devel
@@ -78,6 +73,18 @@ use the "arbitrary" feature of the "%{crate}" crate.
 %files       -n %{name}+arbitrary-devel
 %ghost %{crate_instdir}/Cargo.toml
 
+%package     -n %{name}+ber-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+ber-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "ber" feature of the "%{crate}" crate.
+
+%files       -n %{name}+ber-devel
+%ghost %{crate_instdir}/Cargo.toml
+
 %package     -n %{name}+bytes-devel
 Summary:        %{summary}
 BuildArch:      noarch
@@ -114,6 +121,18 @@ use the "flagset" feature of the "%{crate}" crate.
 %files       -n %{name}+flagset-devel
 %ghost %{crate_instdir}/Cargo.toml
 
+%package     -n %{name}+heapless-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+heapless-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "heapless" feature of the "%{crate}" crate.
+
+%files       -n %{name}+heapless-devel
+%ghost %{crate_instdir}/Cargo.toml
+
 %package     -n %{name}+oid-devel
 Summary:        %{summary}
 BuildArch:      noarch

diff --git a/rust2rpm.toml b/rust2rpm.toml
index 9e75527..201a52e 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,8 +1,14 @@
 [package]
+# Upstream:
+#
+# Pure Rust embedded-friendly implementation of the Distinguished Encoding Rules
+# (DER) for Abstract Syntax Notation One (ASN.1) as described in ITU X.690 with
+# full support for heapless `no_std`/`no_alloc` targets
 summary = "Pure Rust embedded-friendly implementation of DER for ASN.1"
-cargo-toml-patch-comments = [
-    """\
-    Allow hex-literal 1.0: \
-    https://github.com/RustCrypto/formats/commit/ed08fc043e7abb38a86fca10f114d15a86f4cb25\
-    """,
+doc-files.exclude = [
+    # This file is included as a documentation string in the library, so
+    # compilation fails if it is not present. It therefore must not be marked
+    # as documentation, because packages should be equally useful when their
+    # documentation is not installed.
+    "README.md",
 ]

diff --git a/sources b/sources
index adceaf7..afdf01f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (der-0.7.10.crate) = 73e25398cf349d0bf3a656cffc4390f2c82304c10a5da6900f2216ead1150d82e614eebcff8fc3e837b185b705114a77745700c6d7c0dd6bcbc2299fd213d73b
+SHA512 (der-0.8.0.crate) = 4700d5fb6981a2f4be83f80f79be1e8c43f61265cf0e1b42657ddf33712033281a17632c2e6d439eba7c3eedea0300bcc115b9631f2cfc1ae865ae4aec24f118

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-01 10:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-01 10:45 [rpms/rust-der] f44: Update to version 0.8.0; Fixes RHBZ#2439740 Benjamin A. Beasley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox