From 83bcfc7e6c3851cbebbe2ed371f61083e9d557a8 Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: Feb 02 2020 19:47:12 +0000 Subject: Bump git2 to 0.11 Signed-off-by: Robert-André Mauchin --- diff --git a/rust-silver.spec b/rust-silver.spec index 20a306f..b641a7b 100644 --- a/rust-silver.spec +++ b/rust-silver.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 10 +# Generated by rust2rpm 13 %bcond_without check %global __cargo_skip_build 0 @@ -6,7 +6,7 @@ Name: rust-%{crate} Version: 1.1.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Cross-shell customizable powerline-like prompt with icons # Upstream license specification: Unlicense @@ -15,6 +15,7 @@ URL: https://crates.io/crates/silver Source: %{crates_source} # Initial patched metadata # * No Windows +# * Bump git2 to 0.11 https://github.com/reujab/silver/pull/22 Patch0: silver-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -48,6 +49,7 @@ Summary: %{summary} %install %cargo_install +rm -f %{buildroot}%{_prefix}/.crates2.json %if %{with check} %check @@ -55,6 +57,9 @@ Summary: %{summary} %endif %changelog +* Sun Feb 02 20:23:45 CET 2020 Robert-André Mauchin - 1.1.0-3 +- Bump git2 to 0.11 + * Thu Jan 30 2020 Fedora Release Engineering - 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/silver-fix-metadata.diff b/silver-fix-metadata.diff index 0613907..6149de8 100644 --- a/silver-fix-metadata.diff +++ b/silver-fix-metadata.diff @@ -1,5 +1,14 @@ ---- silver-1.1.0/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ silver-1.1.0/Cargo.toml 2019-09-12T06:25:53.622803+00:00 +--- silver-1.1.0/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ silver-1.1.0/Cargo.toml 2020-02-02T19:21:05.160448+00:00 +@@ -31,7 +31,7 @@ + version = "2" + + [dependencies.git2] +-version = "0.9" ++version = "0.11" + + [dependencies.hostname] + version = "0.1" @@ -55,6 +55,3 @@ version = "2" [target."cfg(not(windows))".dependencies.users]