public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-p256] epel9: Update to version 0.14.0; Fixes RHBZ#2496910
@ 2026-09-04 6:13 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-04 6:13 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-p256
Branch : epel9
Commit : bef05af45afebcb771507e421240dc3f0ad2b505
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-08-04T07:31:12+01:00
Stats : +44/-67 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/rust-p256/c/bef05af45afebcb771507e421240dc3f0ad2b505?branch=epel9
Log:
Update to version 0.14.0; Fixes RHBZ#2496910
---
diff --git a/.gitignore b/.gitignore
index 7df44d1..448465b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/p256-0.13.2.crate
+/p256-0.14.0.crate
diff --git a/p256-fix-metadata.diff b/p256-fix-metadata.diff
index 41c155a..d57052b 100644
--- a/p256-fix-metadata.diff
+++ b/p256-fix-metadata.diff
@@ -1,30 +1,12 @@
---- p256-0.13.2/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ p256-0.13.2/Cargo.toml 2025-12-03T22:00:01.409506+00:00
-@@ -68,7 +68,7 @@
- default-features = false
-
- [dependencies.hex-literal]
--version = "0.4"
-+version = ">=0.4, <2.0"
+--- p256-0.14.0/Cargo.toml 2006-07-24T01:21:28+00:00
++++ p256-0.14.0/Cargo.toml 2026-08-04T06:30:32.215933+00:00
+@@ -200,9 +200,6 @@
+ version = "0.11"
optional = true
-
- [dependencies.primeorder]
-@@ -88,9 +88,6 @@
- [dev-dependencies.blobby]
- version = "0.3"
-
--[dev-dependencies.criterion]
--version = "0.4"
+ default-features = false
-
- [dev-dependencies.ecdsa-core]
- version = "0.16"
- features = ["dev"]
-@@ -98,7 +95,7 @@
- package = "ecdsa"
-
- [dev-dependencies.hex-literal]
--version = "0.4"
-+version = ">=0.4, <2.0"
+-[dev-dependencies.criterion]
+-version = "0.7"
- [dev-dependencies.primeorder]
- version = "0.13"
+ [dev-dependencies.ecdsa-core]
+ version = "0.17"
diff --git a/rust-p256.spec b/rust-p256.spec
index 50e6bb9..539f6a5 100644
--- a/rust-p256.spec
+++ b/rust-p256.spec
@@ -5,7 +5,7 @@
%global crate p256
Name: rust-p256
-Version: 0.13.2
+Version: 0.14.0
Release: %autorelease
Summary: Pure Rust implementation of the NIST P-256 elliptic curve
@@ -14,8 +14,6 @@ URL: https://crates.io/crates/p256
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * drop unused, benchmark-only criterion dev-dependency
-# * allow hex-literal 1.0:
-# https://github.com/RustCrypto/elliptic-curves/commit/45ee7f595d83381bc1d8c5707ae5ef929cb47019
Patch: p256-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24
@@ -79,18 +77,6 @@ use the "arithmetic" feature of the "%{crate}" crate.
%files -n %{name}+arithmetic-devel
%ghost %{crate_instdir}/Cargo.toml
-%package -n %{name}+bits-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+bits-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "bits" feature of the "%{crate}" crate.
-
-%files -n %{name}+bits-devel
-%ghost %{crate_instdir}/Cargo.toml
-
%package -n %{name}+digest-devel
Summary: %{summary}
BuildArch: noarch
@@ -139,16 +125,28 @@ use the "ecdsa-core" feature of the "%{crate}" crate.
%files -n %{name}+ecdsa-core-devel
%ghost %{crate_instdir}/Cargo.toml
-%package -n %{name}+expose-field-devel
+%package -n %{name}+getrandom-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+getrandom-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "getrandom" feature of the "%{crate}" crate.
+
+%files -n %{name}+getrandom-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+group-digest-devel
Summary: %{summary}
BuildArch: noarch
-%description -n %{name}+expose-field-devel %{_description}
+%description -n %{name}+group-digest-devel %{_description}
This package contains library source intended for building other packages which
-use the "expose-field" feature of the "%{crate}" crate.
+use the "group-digest" feature of the "%{crate}" crate.
-%files -n %{name}+expose-field-devel
+%files -n %{name}+group-digest-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+hash2curve-devel
@@ -163,16 +161,16 @@ use the "hash2curve" feature of the "%{crate}" crate.
%files -n %{name}+hash2curve-devel
%ghost %{crate_instdir}/Cargo.toml
-%package -n %{name}+jwk-devel
+%package -n %{name}+oprf-devel
Summary: %{summary}
BuildArch: noarch
-%description -n %{name}+jwk-devel %{_description}
+%description -n %{name}+oprf-devel %{_description}
This package contains library source intended for building other packages which
-use the "jwk" feature of the "%{crate}" crate.
+use the "oprf" feature of the "%{crate}" crate.
-%files -n %{name}+jwk-devel
+%files -n %{name}+oprf-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+pem-devel
@@ -199,6 +197,18 @@ use the "pkcs8" feature of the "%{crate}" crate.
%files -n %{name}+pkcs8-devel
%ghost %{crate_instdir}/Cargo.toml
+%package -n %{name}+precomputed-tables-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+precomputed-tables-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "precomputed-tables" feature of the "%{crate}" crate.
+
+%files -n %{name}+precomputed-tables-devel
+%ghost %{crate_instdir}/Cargo.toml
+
%package -n %{name}+serde-devel
Summary: %{summary}
BuildArch: noarch
@@ -271,18 +281,6 @@ use the "test-vectors" feature of the "%{crate}" crate.
%files -n %{name}+test-vectors-devel
%ghost %{crate_instdir}/Cargo.toml
-%package -n %{name}+voprf-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+voprf-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "voprf" feature of the "%{crate}" crate.
-
-%files -n %{name}+voprf-devel
-%ghost %{crate_instdir}/Cargo.toml
-
%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
diff --git a/rust2rpm.toml b/rust2rpm.toml
index 3ebb9aa..cec71df 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -2,9 +2,5 @@
summary = "Pure Rust implementation of the NIST P-256 elliptic curve"
cargo-toml-patch-comments = [
"drop unused, benchmark-only criterion dev-dependency",
- """\
- allow hex-literal 1.0: \
- https://github.com/RustCrypto/elliptic-curves/commit/45ee7f595d83381bc1d8c5707ae5ef929cb47019\
- """,
]
diff --git a/sources b/sources
index 9d7f65d..f5e9b15 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (p256-0.13.2.crate) = 4105c597346e2bc74ad7b7173d13b3b46cf4a1df87ea1699586cb7d09beb1b9f8d152b2bd0bc6849c69771fe4d320dc15a9e275470923b495971e9aae54b0ca9
+SHA512 (p256-0.14.0.crate) = e5902642388c6a42e5e229e11cc04fe4e326bd9619e533a9a4d2d1c84ff00f391039011126994f01075ea0b64986dc2fafd34077c3cdeea27bab02a5c318c2ea
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-04 6:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-04 6:13 [rpms/rust-p256] epel9: Update to version 0.14.0; Fixes RHBZ#2496910 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