diff --git a/.gitignore b/.gitignore index 531015e..c38e8f9 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /term-0.4.6.crate +/term-0.5.1.crate diff --git a/rust-term.spec b/rust-term.spec index 80d3e50..d44d655 100644 --- a/rust-term.spec +++ b/rust-term.spec @@ -5,8 +5,8 @@ %global crate term Name: rust-%{crate} -Version: 0.4.6 -Release: 5%{?dist} +Version: 0.5.1 +Release: 1%{?dist} Summary: Terminal formatting library License: MIT or ASL 2.0 @@ -14,11 +14,13 @@ URL: https://crates.io/crates/term Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate # Initial patched metadata # * No windows -Patch0: term-0.4.6-fix-metadata.diff +Patch0: term-0.5.1-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging +# [dependencies] +BuildRequires: (crate(byteorder) >= 1.2.1 with crate(byteorder) < 2.0.0) %description %{summary}. @@ -55,6 +57,9 @@ which use %{crate} from crates.io. %exclude %{cargo_registry}/%{crate}-%{version}/{appveyor.yml,scripts} %changelog +* Thu May 10 2018 Igor Gnatenko - 0.5.1-1 +- Update to 0.5.1 + * Fri Feb 09 2018 Fedora Release Engineering - 0.4.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index eb4340b..00f3c8f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (term-0.4.6.crate) = b88d9a93082521d12071148b98fc236ceba43d7a13bbaf5da679ca03ea9a6a95e38a14ea72e71fe108a5fc6deba1c8c8b25afe5abb511d19965f5e219e7c1cf1 +SHA512 (term-0.5.1.crate) = cbfe1f3653a31f07a8bdc0b46a5093f45e38b587b639b8683d361480937d65c531abab7c3af3ec2cc8aa3ac41cc3ccd93e31868fd7b327152e878a10070733b0 diff --git a/term-0.4.6-fix-metadata.diff b/term-0.4.6-fix-metadata.diff deleted file mode 100644 index c58feb6..0000000 --- a/term-0.4.6-fix-metadata.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- term-0.4.6/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ term-0.4.6/Cargo.toml 2017-06-25T14:12:02.994325+02:00 -@@ -24,8 +24,3 @@ - - [features] - default = [] --[target."cfg(windows)".dependencies.kernel32-sys] --version = "0.2" -- --[target."cfg(windows)".dependencies.winapi] --version = "0.2" diff --git a/term-0.5.1-fix-metadata.diff b/term-0.5.1-fix-metadata.diff new file mode 100644 index 0000000..05659c9 --- /dev/null +++ b/term-0.5.1-fix-metadata.diff @@ -0,0 +1,12 @@ +--- term-0.5.1/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ term-0.5.1/Cargo.toml 2018-05-10T11:28:36.959813+02:00 +@@ -26,9 +26,6 @@ + + [features] + default = [] +-[target."cfg(windows)".dependencies.winapi] +-version = "0.3" +-features = ["wincon", "handleapi", "fileapi"] + [badges.appveyor] + repository = "Stebalien/term" +