From ed8ba05c70b189a99a53a4d101b2127749e471ba Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 16 Apr 2024 12:45:00 +0200 Subject: [PATCH] Update to version 2.0.14; Fixes RHBZ#2264924 --- .gitignore | 1 + assert_cmd-fix-metadata.diff | 20 -------------------- rust-assert_cmd.spec | 12 ++++++------ rust2rpm.toml | 3 +++ sources | 2 +- 5 files changed, 11 insertions(+), 27 deletions(-) delete mode 100644 assert_cmd-fix-metadata.diff create mode 100644 rust2rpm.toml diff --git a/.gitignore b/.gitignore index 5b0e18e..f3754a8 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ /assert_cmd-2.0.11.crate /assert_cmd-2.0.12.crate /assert_cmd-2.0.13.crate +/assert_cmd-2.0.14.crate diff --git a/assert_cmd-fix-metadata.diff b/assert_cmd-fix-metadata.diff deleted file mode 100644 index d7e319c..0000000 --- a/assert_cmd-fix-metadata.diff +++ /dev/null @@ -1,20 +0,0 @@ ---- assert_cmd-2.0.13/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ assert_cmd-2.0.13/Cargo.toml 2024-01-12T15:06:57.243001+00:00 -@@ -42,6 +42,7 @@ - categories = ["development-tools::testing"] - license = "MIT OR Apache-2.0" - repository = "https://github.com/assert-rs/assert_cmd.git" -+autobins = false - - [package.metadata.docs.rs] - all-features = true -@@ -85,9 +86,6 @@ - [Unreleased]: https://github.com/assert-rs/assert_cmd/compare/{{tag_name}}...HEAD""" - search = "" - --[[bin]] --name = "bin_fixture" -- - [dependencies.anstream] - version = "0.6.7" - optional = true diff --git a/rust-assert_cmd.spec b/rust-assert_cmd.spec index cabc554..185b64e 100644 --- a/rust-assert_cmd.spec +++ b/rust-assert_cmd.spec @@ -1,22 +1,22 @@ -# Generated by rust2rpm 25 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} +# prevent executables from being installed +%global cargo_install_bin 0 + %global crate assert_cmd Name: rust-assert_cmd -Version: 2.0.13 +Version: 2.0.14 Release: %autorelease Summary: Test CLI Applications License: MIT OR Apache-2.0 URL: https://crates.io/crates/assert_cmd Source: %{crates_source} -# Manually created patch for downstream crate metadata changes -# * prevent binary that is only used by integration tests from being shipped -Patch: assert_cmd-fix-metadata.diff -BuildRequires: cargo-rpm-macros >= 24 +BuildRequires: cargo-rpm-macros >= 26 %global _description %{expand: Test CLI Applications.} diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..de63bf5 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,3 @@ +[package] +cargo-install-bin = false + diff --git a/sources b/sources index 1d2bd6a..92dfa47 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (assert_cmd-2.0.13.crate) = 3599483d28f1893945b63d693f38d656724f382ac7a0c2cb0773d72e6bba3dcc9137cca51575fca984c2435b081cd6ad68ed5d1fa04e606484926528cc41a305 +SHA512 (assert_cmd-2.0.14.crate) = 112c3f933a013715c0dfcf29889ec023c88097a70fe212a7d98d0a5272d5f6da87df9353da006483830a0ac3c42a12e12d8fabeb90eb62453982edbc75215613