From f217d6ee929ac064221f741c1eef7423c75bb81d Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 5 Feb 2024 15:01:55 +0100 Subject: [PATCH] Update to version 0.17.6; Fixes RHBZ#2239606 --- .gitignore | 1 + orion-fix-metadata.diff | 4 ++-- rust-orion.spec | 10 +++++----- sources | 2 +- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 3b05bb6..8a91ddd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /orion-0.17.4.crate /orion-0.17.5.crate +/orion-0.17.6.crate diff --git a/orion-fix-metadata.diff b/orion-fix-metadata.diff index 8eb3144..1a3c9a1 100644 --- a/orion-fix-metadata.diff +++ b/orion-fix-metadata.diff @@ -1,5 +1,5 @@ ---- orion-0.17.5/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ orion-0.17.5/Cargo.toml 2023-07-05T19:17:21.853231+00:00 +--- orion-0.17.6/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ orion-0.17.6/Cargo.toml 2024-02-05T13:54:56.735228+00:00 @@ -77,9 +77,6 @@ version = "1.1.0" default-features = false diff --git a/rust-orion.spec b/rust-orion.spec index 0e4f27a..b06e953 100644 --- a/rust-orion.spec +++ b/rust-orion.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate orion Name: rust-orion -Version: 0.17.5 +Version: 0.17.6 Release: %autorelease Summary: Usable, easy and safe pure-Rust crypto @@ -13,10 +13,10 @@ License: MIT URL: https://crates.io/crates/orion Source: %{crates_source} # Manually created patch for downstream crate metadata changes -# * drop unused, benchmark-only criterion dev-dependency to speed up builds +# * drop unused, benchmark-only criterion dev-dependency Patch: orion-fix-metadata.diff -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Usable, easy and safe pure-Rust crypto.} @@ -125,7 +125,7 @@ use the "serde" 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 diff --git a/sources b/sources index f35725d..5cc8dc1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (orion-0.17.5.crate) = 0ea3f0609a5a376174fdd8edf54384e4bf49b50bd9997cfa76516f79c476eab3ef687c9b1e5ef2e1d90a4f5d673a4727c984371585fd8f10296289176474b81b +SHA512 (orion-0.17.6.crate) = 4233fa04badc5a1c9525a44b20a8e852a34a72649b0060ae4382d1f46f702e5748d6b6bec53ebf9833db97ae56e2cd5d1ccb92e9129c6ef3196de4c2634f3247