diff --git a/rust-textwrap.spec b/rust-textwrap.spec index 92f14d1..cebb4a2 100644 --- a/rust-textwrap.spec +++ b/rust-textwrap.spec @@ -6,7 +6,7 @@ Name: rust-%{crate} Version: 0.9.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Small library for word wrapping, indenting, and dedenting strings License: MIT @@ -16,6 +16,7 @@ Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{ # * XXX: hyphenation is optional and brings a lot of legacy # * Bump lipsum to 0.4, https://github.com/mgeisler/textwrap/commit/5c20fdef54644e1050ddc4f8a98e0bccc48513b5 # * Bump version-sync to 0.5, https://github.com/mgeisler/textwrap/commit/7160be3cb39c8503a433f6703efbdf66ece108e3 +# * Bump rand to 0.4, https://github.com/mgeisler/textwrap/pull/120 Patch0: textwrap-0.9.0-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -27,7 +28,7 @@ BuildRequires: (crate(unicode-width) >= 0.1.3 with crate(unicode-width) < 0.2.0 %if %{with check} # [dev-dependencies] BuildRequires: (crate(lipsum) >= 0.4.0 with crate(lipsum) < 0.5.0) -BuildRequires: (crate(rand) >= 0.3.0 with crate(rand) < 0.4.0) +BuildRequires: (crate(rand) >= 0.4.0 with crate(rand) < 0.5.0) BuildRequires: (crate(version-sync) >= 0.5.0 with crate(version-sync) < 0.6.0) %endif @@ -70,6 +71,9 @@ which use %{crate} from crates.io. %{cargo_registry}/%{crate}-%{version}/ %changelog +* Mon Jan 01 2018 Igor Gnatenko - 0.9.0-3 +- Bump rand to 0.4 + * Mon Nov 20 2017 Igor Gnatenko - 0.9.0-2 - Bump version-sync to 0.5 diff --git a/textwrap-0.9.0-fix-metadata.diff b/textwrap-0.9.0-fix-metadata.diff index 7cf6885..01698cf 100644 --- a/textwrap-0.9.0-fix-metadata.diff +++ b/textwrap-0.9.0-fix-metadata.diff @@ -1,6 +1,6 @@ --- textwrap-0.9.0/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ textwrap-0.9.0/Cargo.toml 2017-11-20T08:50:20.213590+01:00 -@@ -27,18 +27,14 @@ ++++ textwrap-0.9.0/Cargo.toml 2018-01-01T13:11:49.342550+01:00 +@@ -27,21 +27,17 @@ [dependencies.unicode-width] version = "0.1.3" @@ -20,4 +20,8 @@ +version = "0.5" [dev-dependencies.rand] - version = "0.3" +-version = "0.3" ++version = "0.4" + [badges.appveyor] + repository = "mgeisler/textwrap" +