From 9dc08afce1655c2f2aef4ded83196b1d21ef2733 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Sat, 4 Jan 2025 23:03:07 +0300 Subject: [PATCH] import rust-termtree-0.5.1-1.el10 --- .gitignore | 2 +- .rust-termtree.metadata | 2 +- SPECS/rust-termtree.spec | 21 ++++++++++++--------- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 89951db..2e36018 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/termtree-0.4.1.crate +SOURCES/termtree-0.5.1.crate diff --git a/.rust-termtree.metadata b/.rust-termtree.metadata index 90ae385..211a3b2 100644 --- a/.rust-termtree.metadata +++ b/.rust-termtree.metadata @@ -1 +1 @@ -4d1581bca7bdd83c79054c11d8c51a5160d85b4b SOURCES/termtree-0.4.1.crate +83fe40b3515e89eca74929e44bb79bfb27d97fab SOURCES/termtree-0.5.1.crate diff --git a/SPECS/rust-termtree.spec b/SPECS/rust-termtree.spec index 6cea6eb..467993c 100644 --- a/SPECS/rust-termtree.spec +++ b/SPECS/rust-termtree.spec @@ -1,21 +1,21 @@ ## START: Set by rpmautospec -## (rpmautospec version 0.7.2) +## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: - release_number = 4; + release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec -# 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 @@ -23,7 +23,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.} @@ -40,7 +40,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}/ @@ -57,7 +57,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 @@ -75,10 +75,13 @@ use the "default" feature of the "%{crate}" crate. %endif %changelog +## START: Generated by rpmautospec +* Sat Jan 04 2025 Fabio Valentini - 0.5.1-1 +- Update to version 0.5.1; Fixes RHBZ#2296714 + * Fri Dec 20 2024 MSVSphere Packaging Team - 0.4.1-4 - Rebuilt for MSVSphere 10 -## START: Generated by rpmautospec * Sat Jul 20 2024 Fedora Release Engineering - 0.4.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild