From 1bd749b2f02ebecaa659c1db2fda5945c71c951e Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 29 Jan 2023 23:17:56 +0100 Subject: [PATCH] Update to version 4.4.0; Fixes RHBZ#2162636 --- .gitignore | 1 + rust-which.spec | 6 ++---- sources | 2 +- which-fix-metadata-auto.diff | 4 ++-- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index ff6809d..225d47e 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /which-4.2.4.crate /which-4.2.5.crate /which-4.3.0.crate +/which-4.4.0.crate diff --git a/rust-which.spec b/rust-which.spec index ca75de3..a53daa6 100644 --- a/rust-which.spec +++ b/rust-which.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 22 +# Generated by rust2rpm 23 %bcond_without check %global debug_package %{nil} %global crate which Name: rust-which -Version: 4.3.0 +Version: 4.4.0 Release: %autorelease Summary: Rust equivalent of Unix command "which" @@ -15,8 +15,6 @@ Source: %{crates_source} # Automatically generated patch to strip foreign dependencies Patch: which-fix-metadata-auto.diff -ExclusiveArch: %{rust_arches} - BuildRequires: rust-packaging >= 21 %global _description %{expand: diff --git a/sources b/sources index ff7729e..d62d536 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (which-4.3.0.crate) = cad05bd43dfcf9e50fd6e3b9dcd5d9a987175a0f44adbf204079117b70d0b42e6483e635287924698c51d0452f168e48e041453f18ff5720c0e2ec4c734d2578 +SHA512 (which-4.4.0.crate) = 8380e5ea79f7768c8b1479c2fbb6e6c8b232f3a8d43b6554b78a370f302fb396d53842678d760ce9fc720fe607cfb9da3e0da4180e4a6ecfef48119105555fd7 diff --git a/which-fix-metadata-auto.diff b/which-fix-metadata-auto.diff index ca16e2a..522ce5b 100644 --- a/which-fix-metadata-auto.diff +++ b/which-fix-metadata-auto.diff @@ -1,5 +1,5 @@ ---- which-4.3.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ which-4.3.0/Cargo.toml 1970-01-01T00:00:01+00:00 +--- which-4.4.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ which-4.4.0/Cargo.toml 1970-01-01T00:00:01+00:00 @@ -46,5 +46,3 @@ [dev-dependencies.tempfile] version = "3.3.0"