From 8e06d199e480e835b7be00733bca195091ade5fe Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 29 May 2023 19:50:12 +0200 Subject: [PATCH] Update to version 0.17.4; Fixes RHBZ#2210712 --- .gitignore | 1 + README.md | 3 --- indicatif-fix-metadata-auto.diff | 8 ++++++++ indicatif-fix-metadata.diff | 11 ----------- rust-indicatif.spec | 11 +++++------ sources | 2 +- 6 files changed, 15 insertions(+), 21 deletions(-) delete mode 100644 README.md create mode 100644 indicatif-fix-metadata-auto.diff delete mode 100644 indicatif-fix-metadata.diff diff --git a/.gitignore b/.gitignore index 632cc92..2f11f0e 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /indicatif-0.15.0.crate /indicatif-0.16.2.crate /indicatif-0.17.3.crate +/indicatif-0.17.4.crate diff --git a/README.md b/README.md deleted file mode 100644 index bf4c733..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-indicatif - -The rust-indicatif package \ No newline at end of file diff --git a/indicatif-fix-metadata-auto.diff b/indicatif-fix-metadata-auto.diff new file mode 100644 index 0000000..0056057 --- /dev/null +++ b/indicatif-fix-metadata-auto.diff @@ -0,0 +1,8 @@ +--- indicatif-0.17.4/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ indicatif-0.17.4/Cargo.toml 2023-05-29T17:46:12.696747+00:00 +@@ -101,5 +101,3 @@ + ] + in_memory = ["vt100"] + +-[target."cfg(target_arch = \"wasm32\")".dependencies.instant] +-version = "0.1" diff --git a/indicatif-fix-metadata.diff b/indicatif-fix-metadata.diff deleted file mode 100644 index 4eb689b..0000000 --- a/indicatif-fix-metadata.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- indicatif-0.17.3/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ indicatif-0.17.3/Cargo.toml 2023-01-20T05:12:25.067446+00:00 -@@ -45,7 +45,7 @@ - version = "0.4" - - [dependencies.portable-atomic] --version = "0.3.15" -+version = "1" - - [dependencies.rayon] - version = "1.1" diff --git a/rust-indicatif.spec b/rust-indicatif.spec index 6290fd0..4ff0fc0 100644 --- a/rust-indicatif.spec +++ b/rust-indicatif.spec @@ -1,25 +1,24 @@ -# Generated by rust2rpm 23 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate indicatif Name: rust-indicatif -Version: 0.17.3 +Version: 0.17.4 Release: %autorelease Summary: Progress bar and cli reporting library for Rust License: MIT URL: https://crates.io/crates/indicatif Source: %{crates_source} -# Manually created patch for downstream crate metadata changes -# * bump portable-atomic to 1 -Patch: indicatif-fix-metadata.diff +# Automatically generated patch to strip foreign dependencies +Patch: indicatif-fix-metadata-auto.diff BuildRequires: rust-packaging >= 21 %global _description %{expand: -Progress bar and cli reporting library for Rust.} +A progress bar and cli reporting library for Rust.} %description %{_description} diff --git a/sources b/sources index c53c2c5..32ce2b5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (indicatif-0.17.3.crate) = 9d536106cb5435f6944ad78fbbcad2dd15763f7efbd78a21da452ab6fe939bed8fa565909aa6db12f738035cd1417ddfbfba2c2a10ec14b8fb464acaf7356c39 +SHA512 (indicatif-0.17.4.crate) = 54c92f028dc5aded5e1a947afc09c33930f0439d7ee55e9dca66ccc2af6860e7b67cd8153bbdb33dff962ffd03dc0004eace2e69135c11a867331f0ef3e9bf6d