From 6390704be59b2aa6692bb09265d1eaf1dfd31cb2 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 10 Feb 2019 10:38:17 +0100 Subject: [PATCH] Update dependencies Signed-off-by: Igor Gnatenko --- exa-fix-metadata.diff | 6 +++--- rust-exa.spec | 19 ++++++++++++------- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/exa-fix-metadata.diff b/exa-fix-metadata.diff index 7d3dc61..c1ba1dc 100644 --- a/exa-fix-metadata.diff +++ b/exa-fix-metadata.diff @@ -1,5 +1,5 @@ --- exa-0.8.0/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ exa-0.8.0/Cargo.toml 2018-11-14T14:42:07.254488+01:00 ++++ exa-0.8.0/Cargo.toml 2019-02-10T10:39:37.636572+01:00 @@ -40,7 +40,7 @@ version = "0.4.5" @@ -40,13 +40,13 @@ [dependencies.git2] -version = "0.6.4" -+version = "0.7" ++version = "0.8" optional = true default-features = false [dependencies.env_logger] -version = "0.3" -+version = "0.4" ++version = "0.6" [dependencies.locale] version = "0.2.1" diff --git a/rust-exa.spec b/rust-exa.spec index 3b7116d..c699c0e 100644 --- a/rust-exa.spec +++ b/rust-exa.spec @@ -5,18 +5,20 @@ Name: rust-%{crate} Version: 0.8.0 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Modern replacement for ls License: MIT URL: https://crates.io/crates/exa -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} # Initial patched metadata # * Bump ansi_term to 0.11, remove getopts, https://github.com/ogham/exa/commit/4c3fd5483d2eff2ea1e623878ede54eaa396e09e -# * Bump env_logger to 0.4, https://github.com/ogham/exa/pull/315 +# * Bump env_logger to 0.6, https://github.com/ogham/exa/pull/315 +# https://github.com/ogham/exa/pull/469 # * Bump users to 0.6, https://github.com/ogham/exa/pull/395 # * Bump lazy_static, https://github.com/ogham/exa/pull/322 -# * Bump git2 to 0.7, https://github.com/ogham/exa/commit/f757300718b1861852d4a33459385eaf921d69e7 +# * Bump git2 to 0.8, https://github.com/ogham/exa/commit/f757300718b1861852d4a33459385eaf921d69e7 +# https://github.com/ogham/exa/pull/461 Patch0: exa-fix-metadata.diff # Make it work with new git2 Patch1: 0001-Upgrade-libgit2.patch @@ -26,8 +28,8 @@ ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging BuildRequires: (crate(ansi_term/default) >= 0.11.0 with crate(ansi_term/default) < 0.12.0) BuildRequires: (crate(datetime/default) >= 0.4.5 with crate(datetime/default) < 0.5.0) -BuildRequires: (crate(env_logger/default) >= 0.4.0 with crate(env_logger/default) < 0.5.0) -BuildRequires: (crate(git2) >= 0.7.0 with crate(git2) < 0.8.0) +BuildRequires: (crate(env_logger/default) >= 0.6.0 with crate(env_logger/default) < 0.7.0) +BuildRequires: (crate(git2) >= 0.8.0 with crate(git2) < 0.9.0) BuildRequires: (crate(glob/default) >= 0.2.0 with crate(glob/default) < 0.3.0) BuildRequires: (crate(lazy_static/default) >= 1.0.0 with crate(lazy_static/default) < 2.0.0) BuildRequires: (crate(libc/default) >= 0.2.9 with crate(libc/default) < 0.3.0) @@ -121,7 +123,7 @@ which use "git2" feature of "%{crate}" crate. %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %prep -%autosetup -n %{crate}-%{version} -p1 +%autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %build @@ -144,6 +146,9 @@ which use "git2" feature of "%{crate}" crate. %endif %changelog +* Sun Feb 10 2019 Igor Gnatenko - 0.8.0-13 +- Update git2 and env_logger deps + * Sat Feb 02 2019 Fedora Release Engineering - 0.8.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild