From 51d80190cd473ae9bdb7939be44440ccc0b63bcc Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 21 Jul 2022 11:30:52 +0200 Subject: [PATCH] Bump bugreport from 0.4 to 0.5 --- gitui-fix-metadata.diff | 11 ++++++++++- rust-gitui.spec | 21 +++++++-------------- 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/gitui-fix-metadata.diff b/gitui-fix-metadata.diff index f836323..4a06c21 100644 --- a/gitui-fix-metadata.diff +++ b/gitui-fix-metadata.diff @@ -1,5 +1,14 @@ --- gitui-0.20.1/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ gitui-0.20.1/Cargo.toml 2022-02-20T17:11:21.192922+00:00 ++++ gitui-0.20.1/Cargo.toml 2022-07-21T09:01:20.897104+00:00 +@@ -46,7 +46,7 @@ + version = "1.3" + + [dependencies.bugreport] +-version = "0.4" ++version = "0.5" + + [dependencies.bytesize] + version = "1.1" @@ -63,7 +63,7 @@ version = "0.5" diff --git a/rust-gitui.spec b/rust-gitui.spec index 9494f8d..6efe5d6 100644 --- a/rust-gitui.spec +++ b/rust-gitui.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global crate gitui @@ -13,6 +13,7 @@ License: MIT URL: https://crates.io/crates/gitui Source: %{crates_source} # Initial patched metadata +# * bump bugreport from 0.4 to 0.5 # * bump crossterm from 0.20 to 0.22 # * bump tui from 0.16 to 0.17 # * drop unused optional pprof dependency @@ -20,7 +21,7 @@ Patch0: gitui-fix-metadata.diff ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Blazing fast terminal-ui for git.} @@ -29,23 +30,15 @@ Blazing fast terminal-ui for git.} %package -n %{crate} Summary: %{summary} -# 0BSD or MIT or ASL 2.0 -# ASL 2.0 -# ASL 2.0 or Boost -# BSD -# MIT -# MIT or ASL 2.0 -# MIT or ASL 2.0 or zlib -# MIT or zlib or ASL 2.0 -# Unlicense or MIT -# zlib or ASL 2.0 or MIT -License: MIT and ASL 2.0 and BSD %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE.md -%doc CHANGELOG.md KEY_CONFIG.md README.md THEMES.md +%doc CHANGELOG.md +%doc KEY_CONFIG.md +%doc README.md +%doc THEMES.md %{_bindir}/gitui %prep