From 880f573dba278eb84b67bec79ffb1330e8b17394 Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Fri, 20 Jan 2023 16:50:30 -0600 Subject: [PATCH] Update to 0.74.0 Signed-off-by: Michel Alexandre Salim --- .gitignore | 1 + nu-path-fix-metadata-auto.diff | 8 ++++++++ rust-nu-path.spec | 11 +++++------ sources | 2 +- 4 files changed, 15 insertions(+), 7 deletions(-) create mode 100644 nu-path-fix-metadata-auto.diff diff --git a/.gitignore b/.gitignore index c9b152c..3ef9cbc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /nu-path-0.61.0.crate /nu-path-0.65.0.crate +/nu-path-0.74.0.crate diff --git a/nu-path-fix-metadata-auto.diff b/nu-path-fix-metadata-auto.diff new file mode 100644 index 0000000..7840d28 --- /dev/null +++ b/nu-path-fix-metadata-auto.diff @@ -0,0 +1,8 @@ +--- nu-path-0.74.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ nu-path-0.74.0/Cargo.toml 1970-01-01T00:00:01+00:00 +@@ -25,5 +25,3 @@ + [target."cfg(all(unix, not(target_os = \"macos\")))".dependencies.pwd] + version = "1.3.1" + +-[target."cfg(windows)".dependencies.omnipath] +-version = "0.1.1" diff --git a/rust-nu-path.spec b/rust-nu-path.spec index cea86d6..2bbf5e4 100644 --- a/rust-nu-path.spec +++ b/rust-nu-path.spec @@ -1,20 +1,19 @@ -# Generated by rust2rpm 21 +# Generated by rust2rpm 23 %bcond_without check %global debug_package %{nil} %global crate nu-path -Name: rust-%{crate} -Version: 0.65.0 +Name: rust-nu-path +Version: 0.74.0 Release: %autorelease Summary: Path handling library for Nushell -# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/nu-path Source: %{crates_source} - -ExclusiveArch: %{rust_arches} +# Automatically generated patch to strip foreign dependencies +Patch: nu-path-fix-metadata-auto.diff BuildRequires: rust-packaging >= 21 diff --git a/sources b/sources index b908111..4582d49 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (nu-path-0.65.0.crate) = 914a4183d3e556cd07f6b1c2dc87afee5ca697aee9a87000ee0db0c0152caa5e4a3b20929e85565f018499b70ae429db58ca88de9e2cc74f7eea0219ff1bb952 +SHA512 (nu-path-0.74.0.crate) = 3880678eebfb23a5e48593110f92670c79d06a2b1d3e8d9876153fe6136656166c890c8d4d5b60bd313b3cc528db530aeaf9b98a82aac7155af08d97d26f81da