From 30c7e66904dc91cbbde4de82a8a5ac510bf46d3d Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mar 19 2024 13:30:25 +0000 Subject: Update to version 4.5.1; Fixes RHBZ#2263399 --- diff --git a/.gitignore b/.gitignore index 485dd8f..52960a9 100644 --- a/.gitignore +++ b/.gitignore @@ -41,3 +41,4 @@ /clap-4.4.14.crate /clap-4.4.16.crate /clap-4.4.18.crate +/clap-4.5.3.crate diff --git a/clap-fix-metadata.diff b/clap-fix-metadata.diff deleted file mode 100644 index c2826ec..0000000 --- a/clap-fix-metadata.diff +++ /dev/null @@ -1,10 +0,0 @@ ---- clap-4.4.18/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ clap-4.4.18/Cargo.toml 2024-01-30T15:22:29.700729+00:00 -@@ -35,6 +35,7 @@ - categories = ["command-line-interface"] - license = "MIT OR Apache-2.0" - repository = "https://github.com/clap-rs/clap" -+autobins = false - - [package.metadata.docs.rs] - cargo-args = [ diff --git a/rust-clap.spec b/rust-clap.spec index 272830a..a285568 100644 --- a/rust-clap.spec +++ b/rust-clap.spec @@ -1,23 +1,23 @@ -# Generated by rust2rpm 25 +# Generated by rust2rpm 26 # * test sources are not included in published crates %bcond_with check %global debug_package %{nil} +# prevent executables from being installed +%global cargo_install_bin 0 + %global crate clap Name: rust-clap -Version: 4.4.18 +Version: 4.5.3 Release: %autorelease Summary: Simple to use, efficient, and full-featured Command Line Argument Parser License: MIT OR Apache-2.0 URL: https://crates.io/crates/clap Source: %{crates_source} -# Manually created patch for downstream crate metadata changes -# * skip building unused test binaries -Patch: clap-fix-metadata.diff -BuildRequires: cargo-rpm-macros >= 24 +BuildRequires: cargo-rpm-macros >= 26 %global _description %{expand: A simple to use, efficient, and full-featured Command Line Argument diff --git a/rust2rpm.toml b/rust2rpm.toml index 278a13e..243adf9 100644 --- a/rust2rpm.toml +++ b/rust2rpm.toml @@ -1,3 +1,7 @@ +[package] +cargo-install-bin = false + [tests] run = ["none"] comments = ["test sources are not included in published crates"] + diff --git a/sources b/sources index d3a6d4d..63c3255 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (clap-4.4.18.crate) = 1f151864b92dcfcc69a66c2a8aa8310ce28171895698d82e2e69e19a6b51ed8780e5eaa77410df9aae2d17c9b45117b913a4c23ef879106c1b7a96182656ebb9 +SHA512 (clap-4.5.3.crate) = 735be90c75211cd8d77f014c8b91782246c652e92da810877a44ab4c9dc0b4ff9637640da04d57a17cd1550df1eba73d91d49d2e7a73815010c5d6a5017aaa9d