diff --git a/.gitignore b/.gitignore index e7b1a10..79085d7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /starship-0.32.1.crate /starship-0.35.1.crate +/starship-0.37.0.crate diff --git a/rust-starship.spec b/rust-starship.spec index e5d5e38..0705a71 100644 --- a/rust-starship.spec +++ b/rust-starship.spec @@ -6,9 +6,9 @@ %global crate starship Name: rust-%{crate} -Version: 0.35.1 -Release: 1%{?dist} -Summary: Cross-shell prompt for astronauts +Version: 0.37.0 +Release: 2%{?dist} +Summary: Minimal, blazing-fast, and infinitely customizable prompt for any shell! ☄🌌️ # Upstream license specification: ISC License: ISC @@ -16,8 +16,7 @@ URL: https://crates.io/crates/starship Source: %{crates_source} # Initial patched metadata # * Use default features (OpenSSL) for reqwest, essentially revert of https://github.com/starship/starship/commit/d1b725a47cda1047546fb3998ff8f8a61ed4a48b -# * Update sysinfo to 0.11, https://github.com/starship/starship/commit/9292ec63d489966312d24c67b011668fe4efec4b -# * Update os_info to 2, https://github.com/starship/starship/commit/0e8b1c659dfcd8ceb1c753c3c6b396ae2f7f7ddf +# * Update git2 to 0.13, https://github.com/starship/starship/commit/d5cf340a72bcb966cd68510f00742e5ba6111453 Patch0: starship-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -25,12 +24,22 @@ ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging %global _description %{expand: -Cross-shell prompt for astronauts. ☄🌌️.} +Minimal, blazing-fast, and infinitely customizable prompt for any shell! ☄🌌️.} %description %{_description} %package -n %{crate} Summary: %{summary} +# Install all deps (without check), grab their licenses and make it simple +# * ASL 2.0 +# * ASL 2.0 or Boost +# * ASL 2.0 or MIT +# * ISC +# * MIT +# * MIT or ASL 2.0 +# * (MIT or ASL 2.0) and BSD +# * Unlicense or MIT +License: ISC and ASL 2.0 and MIT and BSD %description -n %{crate} %{_description} @@ -63,6 +72,9 @@ echo 'git-core' %endif %changelog +* Thu Mar 19 2020 Igor Raits - 0.37.0-2 +- Update to 0.37.0 + * Tue Feb 11 16:43:01 CET 2020 Igor Raits - 0.35.1-1 - Update to 0.35.1 diff --git a/sources b/sources index fa26b6f..1d4ad47 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (starship-0.35.1.crate) = ae3f5d3a2f1b819a871e5f150535eea140314ce65cc4705bb387755ef7ec706c78f9900ca30652681b2a58986c4e124cef1258e6ea1859810f629a3e8414d4a9 +SHA512 (starship-0.37.0.crate) = d5e522bd9c0a4a02f58d5d78fa8b94bd05b0df4ef4fe3745d39abd46160c50b8f7873ad5706c57ac744fba471fa43e5db7ffb835382acb2849685cd9f55d597b diff --git a/starship-fix-metadata.diff b/starship-fix-metadata.diff index 6fe79a3..fb9cafd 100644 --- a/starship-fix-metadata.diff +++ b/starship-fix-metadata.diff @@ -1,30 +1,20 @@ ---- starship-0.35.1/Cargo.toml 2020-02-06T15:32:23+00:00 -+++ starship-0.35.1/Cargo.toml 2020-02-11T12:56:29.642709+00:00 -@@ -71,7 +71,7 @@ - version = "1.3.3" +--- starship-0.37.0/Cargo.toml 2020-03-02T03:33:46+00:00 ++++ starship-0.37.0/Cargo.toml 2020-03-19T10:08:34.936581+00:00 +@@ -54,7 +54,7 @@ + version = "0.2.1" - [dependencies.os_info] --version = "1.3.3" -+version = "2" + [dependencies.git2] +-version = "0.11.0" ++version = "0.13.0" + features = [] + default-features = false - [dependencies.path-slash] - version = "0.1.1" -@@ -84,8 +84,7 @@ +@@ -87,7 +87,7 @@ [dependencies.reqwest] version = "0.10.1" -features = ["blocking", "rustls-tls"] --default-features = false +features = ["blocking"] + default-features = false [dependencies.serde_json] - version = "1.0.46" -@@ -94,7 +93,7 @@ - version = "0.1.0" - - [dependencies.sysinfo] --version = "0.10.5" -+version = "0.11" - - [dependencies.term_size] - version = "0.3.1"