From f196726465f431c99eb63637a410ac70bbff8fca Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Tue, 10 Dec 2019 12:52:37 -0800 Subject: [PATCH] Update to 0.12.1 --- .gitignore | 1 + bat-fix-metadata.diff | 21 ++++++--------------- rust-bat.spec | 12 +++++++----- sources | 2 +- 4 files changed, 15 insertions(+), 21 deletions(-) diff --git a/.gitignore b/.gitignore index 8ee74cf..0d89d8b 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /bat-0.9.0.crate /bat-0.10.0.crate /bat-0.11.0.crate +/bat-0.12.1.crate diff --git a/bat-fix-metadata.diff b/bat-fix-metadata.diff index 30ded8a..6e1f5c6 100644 --- a/bat-fix-metadata.diff +++ b/bat-fix-metadata.diff @@ -1,20 +1,11 @@ ---- bat-0.11.0/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ bat-0.11.0/Cargo.toml 2019-07-14T16:28:37.896509+00:00 -@@ -44,7 +44,7 @@ - version = "0.2.4" - - [dependencies.dirs] --version = "1.0" -+version = "2.0" - - [dependencies.encoding] - version = "0.2" -@@ -55,7 +55,7 @@ +--- bat-0.12.1/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ bat-0.12.1/Cargo.toml 2019-12-10T20:47:02.673884+00:00 +@@ -38,7 +38,7 @@ default-features = false - [dependencies.git2] + [dependencies.console] -version = "0.8" +version = "0.9" - features = [] - default-features = false + [dependencies.content_inspector] + version = "0.2.4" diff --git a/rust-bat.spec b/rust-bat.spec index 1fdc8ae..0bb6cc5 100644 --- a/rust-bat.spec +++ b/rust-bat.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 10 +# Generated by rust2rpm 11 # * assert_cmd is not packaged %bcond_with check %global __cargo_skip_build 0 @@ -6,8 +6,8 @@ %global crate bat Name: rust-%{crate} -Version: 0.11.0 -Release: 4%{?dist} +Version: 0.12.1 +Release: 1%{?dist} Summary: cat(1) clone with wings # Upstream license specification: MIT/Apache-2.0 @@ -15,8 +15,7 @@ License: MIT or ASL 2.0 URL: https://crates.io/crates/bat Source: %{crates_source} # Initial patched metadata -# * Bump git2 to 0.9, https://github.com/sharkdp/bat/pull/580 -# * Bump dirs to 2.0, https://github.com/sharkdp/bat/pull/572 +# * Bump console to 0.9, https://github.com/sharkdp/bat/pull/657 Patch0: bat-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -60,6 +59,9 @@ install -Dpm0644 -t %{buildroot}%{_mandir}/man1 \ %endif %changelog +* Tue Dec 10 2019 Josh Stone - 0.12.1-1 +- Update to 0.12.1 + * Fri Jul 26 2019 Fedora Release Engineering - 0.11.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 60384f4..244b302 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bat-0.11.0.crate) = 853901087ca8a48f35d0741e95e853083b0154f5e765d948b1c1d0ff2bc247f232fd27d2efe7e3a25eb8468714ee51c3a5709f44f15c77e82a9bdfcbf57b7f62 +SHA512 (bat-0.12.1.crate) = 4577fe8fdbee2378c7efd178a53a0d247d8506adc7683999f6ce08034003b42d8ee3fcf5ae3dc88b1dd38dd4e717b1c3b265fefd639af0f0b6db7af33b6540df