diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..af22212 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/ed25519-compact-2.0.6.crate diff --git a/.rust-ed25519-compact.metadata b/.rust-ed25519-compact.metadata index e69de29..3053c4c 100644 --- a/.rust-ed25519-compact.metadata +++ b/.rust-ed25519-compact.metadata @@ -0,0 +1 @@ +8285b4f6793ec2f061fae8497da068bbc28ada60 SOURCES/ed25519-compact-2.0.6.crate diff --git a/SOURCES/ed25519-compact-2.0.4.crate b/SOURCES/ed25519-compact-2.0.4.crate deleted file mode 100644 index ad0049f..0000000 Binary files a/SOURCES/ed25519-compact-2.0.4.crate and /dev/null differ diff --git a/SOURCES/ed25519-compact-fix-metadata-auto.diff b/SOURCES/ed25519-compact-fix-metadata-auto.diff new file mode 100644 index 0000000..b10bf5f --- /dev/null +++ b/SOURCES/ed25519-compact-fix-metadata-auto.diff @@ -0,0 +1,22 @@ +--- ed25519-compact-2.0.6/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ ed25519-compact-2.0.6/Cargo.toml 2024-01-11T19:40:39.427237+00:00 +@@ -61,18 +61,10 @@ + traits = ["ed25519"] + x25519 = [] + +-[target."cfg(all(any(target_arch = \"wasm32\", target_arch = \"wasm64\"), target_os = \"unknown\"))".dependencies.getrandom] +-version = "0.2" +-features = ["js"] +-optional = true +- +-[target."cfg(all(any(target_arch = \"wasm32\", target_arch = \"wasm64\"), target_os = \"unknown\"))".dev-dependencies.getrandom] +-version = "0.2" +-features = ["js"] +- + [target."cfg(not(all(any(target_arch = \"wasm32\", target_arch = \"wasm64\"), target_os = \"unknown\")))".dependencies.getrandom] + version = "0.2" + optional = true + + [target."cfg(not(all(any(target_arch = \"wasm32\", target_arch = \"wasm64\"), target_os = \"unknown\")))".dev-dependencies.getrandom] + version = "0.2" ++ diff --git a/SPECS/rust-ed25519-compact.spec b/SPECS/rust-ed25519-compact.spec index 36f2637..2d553f3 100644 --- a/SPECS/rust-ed25519-compact.spec +++ b/SPECS/rust-ed25519-compact.spec @@ -8,22 +8,24 @@ }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate ed25519-compact Name: rust-ed25519-compact -Version: 2.0.4 +Version: 2.0.6 Release: %autorelease Summary: Small, self-contained, wasm-friendly Ed25519 implementation License: MIT URL: https://crates.io/crates/ed25519-compact Source: %{crates_source} +# Automatically generated patch to strip dependencies and normalize metadata +Patch: ed25519-compact-fix-metadata-auto.diff -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A small, self-contained, wasm-friendly Ed25519 implementation.} @@ -201,7 +203,7 @@ use the "x25519" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires @@ -219,8 +221,14 @@ use the "x25519" feature of the "%{crate}" crate. %endif %changelog -* Mon Jan 15 2024 Arkady L. Shane - 2.0.4-1 +* Mon Jan 15 2024 Arkady L. Shane - 2.0.6-1 - Rebuilt for MSVSphere 9.3 +* Thu Jan 11 2024 Fabio Valentini - 2.0.6-1 +- Update to version 2.0.6; Fixes RHBZ#2254782 + +* Fri Jul 21 2023 Fedora Release Engineering - 2.0.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Tue Jun 13 2023 Fabio Valentini - 2.0.4-1 - Initial import (#2210896)