From 041b69f88e99768a877c57bd7f2855147ed94617 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Wed, 2 May 2018 15:59:46 +0200 Subject: [PATCH] Update to 0.10.0 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + rust-textwrap.spec | 12 ++++++------ sources | 2 +- textwrap-0.10.0-fix-metadata.diff | 13 +++++++++++++ textwrap-0.9.0-fix-metadata.diff | 27 --------------------------- 5 files changed, 21 insertions(+), 34 deletions(-) create mode 100644 textwrap-0.10.0-fix-metadata.diff delete mode 100644 textwrap-0.9.0-fix-metadata.diff diff --git a/.gitignore b/.gitignore index cb7b633..9789f9d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /textwrap-0.9.0.crate +/textwrap-0.10.0.crate diff --git a/rust-textwrap.spec b/rust-textwrap.spec index 381b44f..e845dbb 100644 --- a/rust-textwrap.spec +++ b/rust-textwrap.spec @@ -5,8 +5,8 @@ %global crate textwrap Name: rust-%{crate} -Version: 0.9.0 -Release: 6%{?dist} +Version: 0.10.0 +Release: 1%{?dist} Summary: Small library for word wrapping, indenting, and dedenting strings License: MIT @@ -14,10 +14,7 @@ URL: https://crates.io/crates/textwrap Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate # Initial patched metadata # * XXX: hyphenation is optional and brings a lot of legacy -# * Bump lipsum to 0.5, https://github.com/mgeisler/textwrap/commit/142a05ac2b46a2aea4d5267210f84907dbcc5816 -# * 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 +Patch0: textwrap-0.10.0-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -71,6 +68,9 @@ which use %{crate} from crates.io. %{cargo_registry}/%{crate}-%{version}/ %changelog +* Wed May 02 2018 Igor Gnatenko - 0.10.0-1 +- Update to 0.10.0 + * Thu Apr 26 2018 Igor Gnatenko - 0.9.0-6 - Bump lipsum to 0.5 diff --git a/sources b/sources index 3bbf3c6..672299b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (textwrap-0.9.0.crate) = e176f703f971eefb5cfc1ecf9047858bd7610a58fa4103879fd963b292c79872bd8466ef8fc9742a428ac707400dade307e72fa965dc4d61da66e932e5b20c35 +SHA512 (textwrap-0.10.0.crate) = cb50cc73f3f5ab704ef9e6d526b751f7e66de213fa534206e5b4e9da829f19aedda9f23f262f865fdb3247c703aeaa87f38099f6c575d1961ec923d62a9b2293 diff --git a/textwrap-0.10.0-fix-metadata.diff b/textwrap-0.10.0-fix-metadata.diff new file mode 100644 index 0000000..4922eb9 --- /dev/null +++ b/textwrap-0.10.0-fix-metadata.diff @@ -0,0 +1,13 @@ +--- textwrap-0.10.0/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ textwrap-0.10.0/Cargo.toml 2018-05-02T16:00:33.424423+02:00 +@@ -24,10 +24,6 @@ + repository = "https://github.com/mgeisler/textwrap" + [package.metadata.docs.rs] + all-features = true +-[dependencies.hyphenation] +-version = "0.6.1" +-optional = true +- + [dependencies.term_size] + version = "0.3.0" + optional = true diff --git a/textwrap-0.9.0-fix-metadata.diff b/textwrap-0.9.0-fix-metadata.diff deleted file mode 100644 index c058c8a..0000000 --- a/textwrap-0.9.0-fix-metadata.diff +++ /dev/null @@ -1,27 +0,0 @@ ---- textwrap-0.9.0/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ textwrap-0.9.0/Cargo.toml 2018-04-26T11:45:08.961928+02:00 -@@ -27,21 +27,17 @@ - [dependencies.unicode-width] - version = "0.1.3" - --[dependencies.hyphenation] --version = "0.6.1" --optional = true -- - [dependencies.term_size] - version = "0.3.0" - optional = true - [dev-dependencies.lipsum] --version = "0.3" -+version = "0.5" - - [dev-dependencies.version-sync] --version = "0.2" -+version = "0.5" - - [dev-dependencies.rand] --version = "0.3" -+version = "0.4" - [badges.appveyor] - repository = "mgeisler/textwrap" -