From 7251ace801e65d4acfcbe126343acebbe832eddd Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Sun, 22 Jan 2023 15:29:42 -0600 Subject: [PATCH] Update to 0.74.0 Signed-off-by: Michel Alexandre Salim --- .gitignore | 1 + nu-engine-fix-metadata.diff | 11 +++++++++++ rust-nu-engine.spec | 11 +++++------ .rust2rpm.conf => rust2rpm.conf | 0 sources | 2 +- 5 files changed, 18 insertions(+), 7 deletions(-) create mode 100644 nu-engine-fix-metadata.diff rename .rust2rpm.conf => rust2rpm.conf (100%) diff --git a/.gitignore b/.gitignore index f6659b9..4142cd7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /nu-engine-0.61.0.crate /nu-engine-0.65.0.crate +/nu-engine-0.74.0.crate diff --git a/nu-engine-fix-metadata.diff b/nu-engine-fix-metadata.diff new file mode 100644 index 0000000..5f25125 --- /dev/null +++ b/nu-engine-fix-metadata.diff @@ -0,0 +1,11 @@ +--- nu-engine-0.74.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ nu-engine-0.74.0/Cargo.toml 2023-01-22T21:29:31.834095+00:00 +@@ -37,7 +37,7 @@ + version = "0.74.0" + + [dependencies.sysinfo] +-version = "0.26.2" ++version = "0.27.0" + + [features] + plugin = [] diff --git a/rust-nu-engine.spec b/rust-nu-engine.spec index ab3a497..22310d2 100644 --- a/rust-nu-engine.spec +++ b/rust-nu-engine.spec @@ -1,20 +1,19 @@ -# Generated by rust2rpm 21 +# Generated by rust2rpm 23 %bcond_without check %global debug_package %{nil} %global crate nu-engine -Name: rust-%{crate} -Version: 0.65.0 +Name: rust-nu-engine +Version: 0.74.0 Release: %autorelease Summary: Nushell's evaluation engine -# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/nu-engine Source: %{crates_source} - -ExclusiveArch: %{rust_arches} +# Manually created patch for downstream crate metadata changes +Patch: nu-engine-fix-metadata.diff BuildRequires: rust-packaging >= 21 diff --git a/.rust2rpm.conf b/rust2rpm.conf similarity index 100% rename from .rust2rpm.conf rename to rust2rpm.conf diff --git a/sources b/sources index 2cc2b2f..444a7ed 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (nu-engine-0.65.0.crate) = 24f35baa2e516e4b0ec454cb00652590a1426aac82fa581c25ae761d87a37448487b870acb925c113e98292a6ea1d74d924da682afa7984063c5a9f312586492 +SHA512 (nu-engine-0.74.0.crate) = a7383c14c514dff0d4891bd9989e94b08f79a671aed00be787bf1f50bb7c7358311952e0168eb3fe7b23481feee4d2ff61a9b1204623cea347a536e0d5f28107