From 918d700b021be8312a9b2327834b89022f31a996 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 16 Apr 2019 12:29:23 +0200 Subject: [PATCH] Update to 0.1.2 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + grep-cli-fix-metadata.diff | 8 ++++---- rust-grep-cli.spec | 20 ++++++++++++-------- sources | 2 +- 4 files changed, 18 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index 438215f..4183f6e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /grep-cli-0.1.1.crate +/grep-cli-0.1.2.crate diff --git a/grep-cli-fix-metadata.diff b/grep-cli-fix-metadata.diff index f98c088..1459538 100644 --- a/grep-cli-fix-metadata.diff +++ b/grep-cli-fix-metadata.diff @@ -1,8 +1,8 @@ ---- grep-cli-0.1.1/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ grep-cli-0.1.1/Cargo.toml 2018-10-28T02:54:00.778015+02:00 -@@ -41,5 +41,3 @@ +--- grep-cli-0.1.2/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ grep-cli-0.1.2/Cargo.toml 2019-04-16T10:28:22.571015+00:00 +@@ -44,5 +44,3 @@ [dependencies.termcolor] - version = "1.0.3" + version = "1.0.4" -[target."cfg(windows)".dependencies.winapi-util] -version = "0.1.1" diff --git a/rust-grep-cli.spec b/rust-grep-cli.spec index 02fd79c..adedc29 100644 --- a/rust-grep-cli.spec +++ b/rust-grep-cli.spec @@ -6,14 +6,14 @@ %global crate grep-cli Name: rust-%{crate} -Version: 0.1.1 -Release: 5%{?dist} +Version: 0.1.2 +Release: 1%{?dist} Summary: Utilities for search oriented command line applications # Upstream license specification: Unlicense/MIT License: Unlicense or MIT URL: https://crates.io/crates/grep-cli -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} # Initial patched metadata # * No windows Patch0: grep-cli-fix-metadata.diff @@ -22,12 +22,13 @@ ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging BuildRequires: (crate(atty/default) >= 0.2.11 with crate(atty/default) < 0.3.0) -BuildRequires: (crate(globset/default) >= 0.4.2 with crate(globset/default) < 0.5.0) +BuildRequires: (crate(bstr/default) >= 0.1.2 with crate(bstr/default) < 0.2.0) +BuildRequires: (crate(globset/default) >= 0.4.3 with crate(globset/default) < 0.5.0) BuildRequires: (crate(lazy_static/default) >= 1.1.0 with crate(lazy_static/default) < 2.0.0) BuildRequires: (crate(log/default) >= 0.4.5 with crate(log/default) < 0.5.0) -BuildRequires: (crate(regex/default) >= 1.0.5 with crate(regex/default) < 2.0.0) -BuildRequires: (crate(same-file/default) >= 1.0.3 with crate(same-file/default) < 2.0.0) -BuildRequires: (crate(termcolor/default) >= 1.0.3 with crate(termcolor/default) < 2.0.0) +BuildRequires: (crate(regex/default) >= 1.1.0 with crate(regex/default) < 2.0.0) +BuildRequires: (crate(same-file/default) >= 1.0.4 with crate(same-file/default) < 2.0.0) +BuildRequires: (crate(termcolor/default) >= 1.0.4 with crate(termcolor/default) < 2.0.0) %global _description \ Utilities for search oriented command line applications. @@ -61,7 +62,7 @@ which use "default" 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 @@ -76,6 +77,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Tue Apr 16 12:28:22 CEST 2019 Igor Gnatenko - 0.1.2-1 +- Update to 0.1.2 + * Sat Feb 02 2019 Fedora Release Engineering - 0.1.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 002e89e..65d6623 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (grep-cli-0.1.1.crate) = c9f4ccde63e16cfe190786ccae82b4986fecd2d5c1f1c507ecf796d0f8511b79349e0482170bbd92f5865e7cd13655a708fa3b448259e38d8dc5fa215ba1a09c +SHA512 (grep-cli-0.1.2.crate) = 1dcfd004cdddd02f4e77e96ca1d75009fb088b3b163c08a484b89d234e5262e655139f5f02c4471f9585e9655423eb7650f68c8ec7f6c316bf63b2e243bd3213