public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-rsa] epel10: Update to version 0.10.0; Fixes RHBZ#2568949
@ 2026-11-23 10:20 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-11-23 10:20 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-rsa
Branch : epel10
Commit : 8d9ed5eb643582d410d2621fa0e81c9ab267f8f1
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-11-20T09:41:06+00:00
Stats : +45/-49 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/rust-rsa/c/8d9ed5eb643582d410d2621fa0e81c9ab267f8f1?branch=epel10
Log:
Update to version 0.10.0; Fixes RHBZ#2568949
---
diff --git a/rsa-fix-metadata.diff b/rsa-fix-metadata.diff
index 4dc2235..529cc33 100644
--- a/rsa-fix-metadata.diff
+++ b/rsa-fix-metadata.diff
@@ -1,11 +1,22 @@
---- rsa-0.9.10/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ rsa-0.9.10/Cargo.toml 2026-01-07T02:19:24.872983+00:00
-@@ -194,7 +194,7 @@
- features = ["alloc"]
+--- rsa-0.10.0/Cargo.toml 2006-07-24T01:21:28+00:00
++++ rsa-0.10.0/Cargo.toml 2026-11-20T09:40:54.045757+00:00
+@@ -122,10 +122,6 @@
+ name = "signing_blinding"
+ path = "tests/signing_blinding.rs"
- [dev-dependencies.hex-literal]
--version = "0.4.1"
-+version = ">=0.4.1, <2.0"
+-[[test]]
+-name = "wycheproof"
+-path = "tests/wycheproof.rs"
+-
+ [[bench]]
+ name = "key"
+ path = "benches/key.rs"
+@@ -253,7 +249,7 @@
+ default-features = false
- [dev-dependencies.proptest]
- version = "1"
+ [dev-dependencies.rstest]
+-version = "0.28"
++version = ">=0.26, <0.29"
+
+ [dev-dependencies.serde]
+ version = "1.0.184"
diff --git a/rust-rsa.spec b/rust-rsa.spec
index 4c54a68..35cdde9 100644
--- a/rust-rsa.spec
+++ b/rust-rsa.spec
@@ -5,7 +5,7 @@
%global crate rsa
Name: rust-rsa
-Version: 0.9.10
+Version: 0.10.0
Release: %autorelease
Summary: Pure Rust RSA implementation
@@ -13,8 +13,9 @@ License: MIT OR Apache-2.0
URL: https://crates.io/crates/rsa
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
-# * allow hex-literals 1.0:
-# https://github.com/RustCrypto/RSA/commit/c8955c92c7c680245a7928bf97f52af16a0b6be2
+# * Omit the wycheproof test, which requires files from the workspace
+# * Allow older rstest 0.26–0.27 for now:
+# https://bugzilla.redhat.com/show_bug.cgi?id=2529211
Patch: rsa-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24
@@ -53,6 +54,18 @@ use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml
+%package -n %{name}+encoding-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+encoding-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "encoding" feature of the "%{crate}" crate.
+
+%files -n %{name}+encoding-devel
+%ghost %{crate_instdir}/Cargo.toml
+
%package -n %{name}+getrandom-devel
Summary: %{summary}
BuildArch: noarch
@@ -77,16 +90,16 @@ use the "hazmat" feature of the "%{crate}" crate.
%files -n %{name}+hazmat-devel
%ghost %{crate_instdir}/Cargo.toml
-%package -n %{name}+pem-devel
+%package -n %{name}+pkcs1v15-devel
Summary: %{summary}
BuildArch: noarch
-%description -n %{name}+pem-devel %{_description}
+%description -n %{name}+pkcs1v15-devel %{_description}
This package contains library source intended for building other packages which
-use the "pem" feature of the "%{crate}" crate.
+use the "pkcs1v15" feature of the "%{crate}" crate.
-%files -n %{name}+pem-devel
+%files -n %{name}+pkcs1v15-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+pkcs5-devel
@@ -125,18 +138,6 @@ use the "sha1" feature of the "%{crate}" crate.
%files -n %{name}+sha1-devel
%ghost %{crate_instdir}/Cargo.toml
-%package -n %{name}+sha2-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+sha2-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "sha2" feature of the "%{crate}" crate.
-
-%files -n %{name}+sha2-devel
-%ghost %{crate_instdir}/Cargo.toml
-
%package -n %{name}+std-devel
Summary: %{summary}
BuildArch: noarch
@@ -149,18 +150,6 @@ use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel
%ghost %{crate_instdir}/Cargo.toml
-%package -n %{name}+u64_digit-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+u64_digit-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "u64_digit" feature of the "%{crate}" crate.
-
-%files -n %{name}+u64_digit-devel
-%ghost %{crate_instdir}/Cargo.toml
-
%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
diff --git a/rust2rpm.toml b/rust2rpm.toml
index c28d617..27df9b1 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,12 +1,8 @@
[package]
cargo-toml-patch-comments = [
+ "Omit the wycheproof test, which requires files from the workspace",
"""\
- allow hex-literals 1.0: \
- https://github.com/RustCrypto/RSA/commit/c8955c92c7c680245a7928bf97f52af16a0b6be2\
- """,
-]
-
-[features]
-hide = [
- "nightly",
+Allow older rstest 0.26–0.27 for now: \
+https://bugzilla.redhat.com/show_bug.cgi?id=2529211\
+""",
]
diff --git a/sources b/sources
index 525b6e4..a6a239a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (rsa-0.9.10.crate) = 704170541129566aab066fba28828b51ffed477df49cd9343053deeaf17e286ff94e08824f2e9427bbd9d0031238592b9706606f8013180927be5a88b5e69907
+SHA512 (rsa-0.10.0.crate) = f8ecdc62f239a6c6896e32c80eb6e2267d88cb5dc59956bdd17f6ee31035ed2e22fb1bf3a7e828607227ca64b78b9f49debf752d4b6f13009cbb0874a3e575d5
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-23 10:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23 10:20 [rpms/rust-rsa] epel10: Update to version 0.10.0; Fixes RHBZ#2568949 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