From 831d6eca5a5d5b66f13e3cdb2276012f45d08bcf Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sat, 4 Jan 2025 16:39:17 +0100 Subject: [PATCH] Update to version 0.5.1; Fixes RHBZ#2296714 --- .gitignore | 1 + rust-termtree.spec | 12 ++++++------ sources | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 3420cc6..6311200 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /termtree-0.4.0.crate /termtree-0.4.1.crate +/termtree-0.5.1.crate diff --git a/rust-termtree.spec b/rust-termtree.spec index 1d29b14..998432f 100644 --- a/rust-termtree.spec +++ b/rust-termtree.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 -%bcond_without check +# Generated by rust2rpm 27 +%bcond check 1 %global debug_package %{nil} %global crate termtree Name: rust-termtree -Version: 0.4.1 +Version: 0.5.1 Release: %autorelease Summary: Visualize tree-like data on the command-line @@ -13,7 +13,7 @@ License: MIT URL: https://crates.io/crates/termtree Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Visualize tree-like data on the command-line.} @@ -30,7 +30,7 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license %{crate_instdir}/LICENSE +%license %{crate_instdir}/LICENSE-MIT %doc %{crate_instdir}/README.md %{crate_instdir}/ @@ -47,7 +47,7 @@ use the "default" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires diff --git a/sources b/sources index 4556734..84e54a2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (termtree-0.4.1.crate) = ddbe0d3ddd79b182732359f47958ca32aa351d10b1e7d5f6456700b851aa2b5314ce005e1fd120a248b676f219fbd68039cefc071d92c5b5477d053bb6e29062 +SHA512 (termtree-0.5.1.crate) = 43d92132cef6d352c6c0190ce4a688d7cffb61ee86dbc6b49ba1f4c404661f9b329331198063d913ae52b2d4c69e6a2d9f5cd62886894c468093abd8604f0125